|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.collab.SharableImpl
ucar.unidata.collab.PropertiedThing
public abstract class PropertiedThing
This abstract class handles showing a properties dialog and manages a set of property change listeners.
| Field Summary | |
|---|---|
protected JDialog |
propertiesDialog
properties |
| Constructor Summary | |
|---|---|
PropertiedThing()
Default ctro |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to this instance. |
protected boolean |
applyProperties()
Apply properties |
protected boolean |
doApplyProperties()
Apply the properties |
void |
firePropertyChange(PropertyChangeEvent event)
Fires a PropertyChangeEvent. |
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent. |
protected void |
getPropertiesComponents(List comps,
int tabIdx)
Make the properties gui |
protected PropertyChangeSupport |
getPropertyListeners()
Returns the PropertyChangeListener-s of this instance. |
String[] |
getPropertyTabs()
return the array of tab names for the proeprties dialog |
boolean |
isShowing()
_more_ |
void |
propertyChange(PropertyChangeEvent event)
Handle the property change event |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a PropertyChangeListener from this instance. |
boolean |
showProperties()
Show the properties dialog |
boolean |
showProperties(JComponent where,
int x,
int y)
_more_ |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected JDialog propertiesDialog
| Constructor Detail |
|---|
public PropertiedThing()
| Method Detail |
|---|
public void propertyChange(PropertyChangeEvent event)
propertyChange in interface PropertyChangeListenerevent - The eventpublic void firePropertyChange(PropertyChangeEvent event)
event - The PropertyChangeEvent.
public void firePropertyChange(String propertyName,
Object oldValue,
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(PropertyChangeListener listener)
listener - The PropertyChangeListener to be removed.protected PropertyChangeSupport getPropertyListeners()
public void addPropertyChangeListener(PropertyChangeListener listener)
listener - The PropertyChangeListener to be added.
protected void getPropertiesComponents(List comps,
int tabIdx)
comps - List of componentstabIdx - Which tab in the guipublic String[] getPropertyTabs()
public boolean showProperties()
public boolean showProperties(JComponent where,
int x,
int y)
where - _more_x - _more_y - _more_
public boolean isShowing()
protected boolean applyProperties()
protected boolean doApplyProperties()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||