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 void |
readOnlyError(java.lang.String attribute)
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 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 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)