Package ucar.unidata.idv.control.multi
Class DisplayControlWrapper
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.collab.PropertiedThing
ucar.unidata.idv.control.multi.DisplayComponent
ucar.unidata.idv.control.multi.DisplayControlWrapper
- All Implemented Interfaces:
PropertyChangeListener,EventListener,Sharable
Provides a table view
- Version:
- $Revision: 1.6 $
- Author:
- IDV Development Team
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final inttype of decorationstatic final String[]type of decorationstatic final inttype of decorationstatic final inttype of decorationstatic final int[]type of decorationFields inherited from class ucar.unidata.idv.control.multi.DisplayComponent
CMD_SAVEIMAGE, CMD_SAVEMOVIE, displayControl, displayLabel, hasBeenInitialized, isRemoved, PROP_REMOVEDFields inherited from class ucar.unidata.collab.PropertiedThing
propertiesDialog -
Constructor Summary
ConstructorsConstructorDescriptionDefault ctorDisplayControlWrapper(DisplayControlImpl myDisplayControl) Default ctor -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanApply propertiesprotected JComponentmake the guivoiddoRemove()Cleanup the componentintGet the Decoration property.Get the DisplayControl property.protected ListgetPopupMenuItems(List items) Add to the popup menuprotected voidgetPropertiesComponents(List comps, int tabIdx) Make the properties guiReturn the human readable name of this componentvoidinitAfterUnPersistence(MultiDisplayHolder displayControl, ControlContext vc, Hashtable properties) Called by theIntegratedDataViewerto initialize after this control has been unpersistedvoidHandle the property change eventvoidsetDecoration(int value) Set the Decoration property.voidSet the DisplayControl property.toString()to stringMethods inherited from class ucar.unidata.idv.control.multi.DisplayComponent
addGroupMenuItems, animationTimeChanged, doApplyProperties, doMakeDisplayLabel, doSaveImage, doSaveMovie, getBackgroundColor, getContents, getDisplayables, getDisplayControl, getDisplayGroup, getDisplayLabel, getIsRemoved, getLabelShown, getName, initDone, loadData, removeDisplayComponent, setBackgroundColor, setDisplayControl, setDisplayGroup, setIsRemoved, setLabelShown, setName, showPopup, showPropertiesMethods inherited from class ucar.unidata.collab.PropertiedThing
addPropertyChangeListener, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, removePropertyChangeListener, showPropertiesMethods 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
-
Field Details
-
DECORATION_NONE
public static final int DECORATION_NONEtype of decoration- See Also:
-
DECORATION_BORDER
public static final int DECORATION_BORDERtype of decoration- See Also:
-
DECORATION_TITLEDBORDER
public static final int DECORATION_TITLEDBORDERtype of decoration- See Also:
-
DECORATIONS
public static final int[] DECORATIONStype of decoration -
DECORATION_NAMES
type of decoration
-
-
Constructor Details
-
DisplayControlWrapper
public DisplayControlWrapper()Default ctor -
DisplayControlWrapper
Default ctor- Parameters:
myDisplayControl- My control
-
-
Method Details
-
initAfterUnPersistence
public void initAfterUnPersistence(MultiDisplayHolder displayControl, ControlContext vc, Hashtable properties) Called by theIntegratedDataViewerto initialize after this control has been unpersisted- Overrides:
initAfterUnPersistencein classDisplayComponent- Parameters:
displayControl- The display control I am part ofvc- The context in which this control existsproperties- Properties that may hold things
-
propertyChange
Handle the property change event- Specified by:
propertyChangein interfacePropertyChangeListener- Overrides:
propertyChangein classPropertiedThing- Parameters:
event- The event
-
getPropertiesComponents
Make the properties gui- Overrides:
getPropertiesComponentsin classDisplayComponent- Parameters:
comps- List of componentstabIdx- Which tab in the gui
-
applyProperties
protected boolean applyProperties()Apply properties- Overrides:
applyPropertiesin classDisplayComponent- Returns:
- Successful
-
getPopupMenuItems
Add to the popup menu- Overrides:
getPopupMenuItemsin classDisplayComponent- Parameters:
items- List of menu items- Returns:
- The list
-
getTypeName
Return the human readable name of this component- Overrides:
getTypeNamein classDisplayComponent- Returns:
- component type name
-
doRemove
public void doRemove()Cleanup the component- Overrides:
doRemovein classDisplayComponent
-
doMakeContents
make the gui- Specified by:
doMakeContentsin classDisplayComponent- Returns:
- The gui contents
-
toString
to string- Overrides:
toStringin classDisplayComponent- Returns:
- string
-
setMyDisplayControl
Set the DisplayControl property.- Parameters:
value- The new value for DisplayControl
-
getMyDisplayControl
Get the DisplayControl property.- Returns:
- The DisplayControl
-
setDecoration
public void setDecoration(int value) Set the Decoration property.- Parameters:
value- The new value for Decoration
-
getDecoration
public int getDecoration()Get the Decoration property.- Returns:
- The Decoration
-