public class ClipboardManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
ClipboardManager.WorkArea
Stores global data relating to the state of the current context.
|
Modifier and Type | Field and Description |
---|---|
private static ContextLocal<ClipboardManager.WorkArea> |
work
Saves clipboard resource id.
|
Constructor and Description |
---|
ClipboardManager() |
Modifier and Type | Method and Description |
---|---|
static handle |
asHandle()
Get a the instance for the CLIPBOARD system handle.
|
static character |
getClipboardValue()
Gets the system clipboard value invoked by business methods on the server side that use
CLIPBOARD:VALUE.
|
static character |
getResourceType()
Get the type of its associated handle.
|
static java.lang.Long |
id()
Get this resource's ID.
|
static void |
id(long id)
Set this resource's ID.
|
static logical |
isMultiple()
Getter for the MULTIPLE attribute which specifies whether the user can select multiple
rows from the widget or only a single row.
|
static void |
readOnlyError(java.lang.String attribute)
API needed to implement read-only attribute assignment (a 4GL "feature").
|
static void |
readOnlyError(java.lang.String attribute,
java.lang.Object expr)
API needed to implement read-only attribute assignment (a 4GL "feature").
|
static void |
setClipboardValue(character value)
Sets the system clipboard value invoked by business methods on the server side that set
CLIPBOARD:VALUE.
|
static void |
setClipboardValue(java.lang.String value)
Sets the system clipboard value invoked by business methods on the server side that set
CLIPBOARD:VALUE.
|
static void |
setMultiple(boolean multiple)
Set MULTIPLE attribute which specifies whether the user can select multiple rows from the
widget or only a single row.
|
static void |
setMultiple(logical multiple)
Set MULTIPLE attribute which specifies whether the user can select multiple rows from the
widget or only a single row.
|
static boolean |
unknown()
Implementation for the
WrappedResource.unknown() API. |
static boolean |
valid()
Implementation for the
WrappedResource.valid() API. |
private static final ContextLocal<ClipboardManager.WorkArea> work
public static character getClipboardValue()
public static void setClipboardValue(character value)
value
- The target value to set.public static void setClipboardValue(java.lang.String value)
value
- The target value to set.public static logical isMultiple()
public static void setMultiple(boolean multiple)
multiple
- New value for the attribute.public static void setMultiple(logical multiple)
multiple
- New value for the attribute.public static handle asHandle()
StaticProxy.obtain(Class, Class[])
, using the
Clipboard
interface and its methods implemented by these
classes: ClipboardManager
, NumberType
.public static java.lang.Long id()
public static void id(long id)
This is a no-op for system handles.
id
- The resource's ID.public static character getResourceType()
public static boolean valid()
WrappedResource.valid()
API.public static boolean unknown()
WrappedResource.unknown()
API.public static void readOnlyError(java.lang.String attribute)
attribute
- The attribute's name.handle.readOnlyError(handle, String)
public static void readOnlyError(java.lang.String attribute, java.lang.Object expr)
attribute
- The attribute's name.expr
- The value which is attempted to be assigned to the read-only attribute.handle.readOnlyError(handle, String, Object)