public class FwkClipboard extends java.awt.datatransfer.Clipboard implements FwkClipboardInterface
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
version |
NAME
Constructor and Description |
---|
FwkClipboard()
The constructor.
|
FwkClipboard(java.lang.String name)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(FwkPropertyChangeListenerInterface listener)
Add a PropertyChangeListener to the listener list.
|
void |
addPropertyChangeListener(java.lang.String propertyName,
FwkPropertyChangeListenerInterface listener)
Add a PropertyChangeListener for a specific property.
|
void |
firePropertyChange(java.beans.PropertyChangeEvent evt)
Fire an existing PropertyChangeEvent to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
boolean oldValue,
boolean newValue)
Report a boolean bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
char oldValue,
char newValue)
Report a char bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
double oldValue,
double newValue)
Report an double bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
float oldValue,
float newValue)
Report an float bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
int oldValue,
int newValue)
Report an int bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
long oldValue,
long newValue)
Report an long bound property update to any registered listeners.
|
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Report a bound property update to any registered listeners.
|
FwkArrayInterface |
getPropertyChangeArray()
Get a vector containing the property names for that listeners are registered.
|
FwkArrayInterface |
getPropertyChangeListenerArray()
Get a vector containing the registered property change listeners.
|
FwkArrayInterface |
getPropertyChangeListenerArray(java.lang.String propertyName)
Get a vector containing the registered property change listeners for the
specific property.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isPropertyChangeEventSuspended()
Inquire the suspend status.
|
void |
release()
Release the object.
|
void |
removePropertyChangeListener(FwkPropertyChangeListenerInterface listener)
Remove a PropertyChangeListener from the listener list.
|
void |
removePropertyChangeListener(java.lang.String propertyName,
FwkPropertyChangeListenerInterface listener)
Remove a PropertyChangeListener for a specific property.
|
void |
setContents(FwkTransferableInterface contents,
FwkTransferableInterface owner)
Sets the current contents of the clipboard to the specified transferable object and registers the specified clipboard owner as the
owner of the new contents.
|
void |
setContents(java.awt.datatransfer.Transferable contents,
java.awt.datatransfer.ClipboardOwner owner)
Sets the current contents of the clipboard to the specified transferable object and registers the specified clipboard owner as the
owner of the new contents.
|
void |
setSource(FwkInterface source)
Set the bean source object of the property change support.
|
void |
suspendPropertyChangeEvents(boolean flag)
Suspend the property change events.
|
public static final java.lang.String version
public FwkClipboard()
public FwkClipboard(java.lang.String name)
the
- name of the clipboard.public java.lang.String getVersion()
FwkInterface
getVersion
in interface FwkInterface
public void release()
release
in interface FwkInterface
public void setSource(FwkInterface source)
setSource
in interface FwkPropertyChangeInterface
source
- The component to be given as the source for any events.public void suspendPropertyChangeEvents(boolean flag)
suspendPropertyChangeEvents
in interface FwkPropertyChangeInterface
flag
- If true the property change events will be suspended.public boolean isPropertyChangeEventSuspended()
isPropertyChangeEventSuspended
in interface FwkPropertyChangeInterface
public FwkArrayInterface getPropertyChangeListenerArray()
getPropertyChangeListenerArray
in interface FwkPropertyChangeInterface
public FwkArrayInterface getPropertyChangeListenerArray(java.lang.String propertyName)
getPropertyChangeListenerArray
in interface FwkPropertyChangeInterface
propertyName
- The name of the property whose listeners are requested.public FwkArrayInterface getPropertyChangeArray()
getPropertyChangeArray
in interface FwkPropertyChangeInterface
public void addPropertyChangeListener(FwkPropertyChangeListenerInterface listener)
addPropertyChangeListener
in interface FwkPropertyChangeInterface
listener
- The property change listener.PropertyChangeSupport
public void addPropertyChangeListener(java.lang.String propertyName, FwkPropertyChangeListenerInterface listener)
addPropertyChangeListener
in interface FwkPropertyChangeInterface
propertyName
- The property name.listener
- The property change listener.com.highqsoft.fwk.FwkPropertyChangeListener
public void firePropertyChange(java.beans.PropertyChangeEvent evt)
firePropertyChange
in interface FwkPropertyChangeInterface
evt
- The property change event.PropertyChangeSupport
public void firePropertyChange(java.lang.String propertyName, boolean oldValue, boolean newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.PropertyChangeSupport
public void firePropertyChange(java.lang.String propertyName, char oldValue, char newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.public void firePropertyChange(java.lang.String propertyName, int oldValue, int newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.PropertyChangeSupport
public void firePropertyChange(java.lang.String propertyName, long oldValue, long newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.public void firePropertyChange(java.lang.String propertyName, float oldValue, float newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.public void firePropertyChange(java.lang.String propertyName, double oldValue, double newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
firePropertyChange
in interface FwkPropertyChangeInterface
propertyName
- The property name.oldValue
- The old value of the property.newValue
- The new value of the property.PropertyChangeSupport
public void removePropertyChangeListener(FwkPropertyChangeListenerInterface listener)
removePropertyChangeListener
in interface FwkPropertyChangeInterface
listener
- The property change listener.PropertyChangeSupport
public void removePropertyChangeListener(java.lang.String propertyName, FwkPropertyChangeListenerInterface listener)
removePropertyChangeListener
in interface FwkPropertyChangeInterface
propertyName
- The property name.listener
- The property change listener.PropertyChangeSupport
public void setContents(FwkTransferableInterface contents, FwkTransferableInterface owner)
setContents
in interface FwkClipboardInterface
content
- - the transferable object representing the clipboard contentowner
- - the object which owns the clipboard contentpublic void setContents(java.awt.datatransfer.Transferable contents, java.awt.datatransfer.ClipboardOwner owner)
This routine fire a property change on property Contents
setContents
in class java.awt.datatransfer.Clipboard
content
- - the transferable object representing the clipboard contentowner
- - the object which owns the clipboard content