public abstract class PropertiedThing extends SharableImpl implements java.beans.PropertyChangeListener
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JDialog |
propertiesDialog
properties
|
Constructor and Description |
---|
PropertiedThing()
Default ctro
|
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener to this instance.
|
protected boolean |
applyProperties()
Apply properties
|
protected boolean |
doApplyProperties()
Apply the properties
|
void |
firePropertyChange(java.beans.PropertyChangeEvent event)
Fires a PropertyChangeEvent.
|
void |
firePropertyChange(java.lang.String propertyName,
java.lang.Object oldValue,
java.lang.Object newValue)
Fires a PropertyChangeEvent.
|
protected void |
getPropertiesComponents(java.util.List comps,
int tabIdx)
Make the properties gui
|
protected java.beans.PropertyChangeSupport |
getPropertyListeners()
Returns the PropertyChangeListener-s of this instance.
|
java.lang.String[] |
getPropertyTabs()
return the array of tab names for the proeprties dialog
|
boolean |
isShowing()
_more_
|
void |
propertyChange(java.beans.PropertyChangeEvent event)
Handle the property change event
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener from this instance.
|
boolean |
showProperties()
Show the properties dialog
|
boolean |
showProperties(javax.swing.JComponent where,
int x,
int y)
_more_
|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
event
- The eventpublic void firePropertyChange(java.beans.PropertyChangeEvent event)
event
- The PropertyChangeEvent.public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue)
propertyName
- The name of the property.oldValue
- The old value of the property.newValue
- The new value of the property.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener to be removed.protected java.beans.PropertyChangeSupport getPropertyListeners()
public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener
- The PropertyChangeListener to be added.protected void getPropertiesComponents(java.util.List comps, int tabIdx)
comps
- List of componentstabIdx
- Which tab in the guipublic java.lang.String[] getPropertyTabs()
public boolean showProperties()
public boolean showProperties(javax.swing.JComponent where, int x, int y)
where
- _more_x
- _more_y
- _more_public boolean isShowing()
protected boolean applyProperties()
protected boolean doApplyProperties()