Package ucar.unidata.ui
Class ComponentHolder
java.lang.Object
ucar.unidata.collab.SharableImpl
ucar.unidata.collab.PropertiedThing
ucar.unidata.ui.ComponentHolder
- All Implemented Interfaces:
- PropertyChangeListener,- EventListener,- Sharable
- Direct Known Subclasses:
- ComponentGroup,- HtmlComponent,- IdvComponentHolder
- Version:
- $Revision: 1.13 $
- Author:
- IDV Development Team
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final String_more_static final String[]_more_static final String[]_more_protected JButton_more_protected JComponent_more_protected boolean_more_protected JTextField_more_protected ComponentGroup_more_Fields inherited from class ucar.unidata.collab.PropertiedThingpropertiesDialog
- 
Constructor SummaryConstructorsConstructorDescription_more_ComponentHolder(String name) _more_ComponentHolder(String name, JComponent contents) _more_
- 
Method SummaryModifier and TypeMethodDescriptionprotected boolean_more_protected void_more__more_protected JComponent_more_voiddoRemove()_more_boolean_more_Get the Border property.Get the BorderLayoutLocation property.Get the Category property._more__more_getIcon()_more__more_booleanGet the InternalFrameShow property.Get the LayoutRect property.getName()Get the Name property.Get the Parent property.protected ListgetPopupMenuItems(List items) Get the menu items for the popup menuprotected voidgetPropertiesComponents(List comps, int tabIdx) _more_getRoot()_more_booleanGet the ShowHeader property._more_void_more_makeTree(DefaultMutableTreeNode parent) _more_void_more_booleanRemove mevoidSet the Border property.protected voidsetBorder(JComponent comp) _more_voidsetBorderLayoutLocation(String value) Set the BorderLayoutLocation property.voidsetCategory(String value) Set the Category property.voidsetInternalFrameShown(boolean value) Set the InternalFrameShow property.voidsetLayoutRect(Rectangle value) Set the LayoutRect property.voidSet the Name property.voidsetParent(ComponentGroup newParent) Set the Parent property.voidsetShowHeader(boolean value) Set the ShowHeader property.void_more_voidshowPopup(JComponent where, int x, int y) SHow the popup menutoString()_more_protected JComponentwrapContents(JComponent contents) _more_Methods inherited from class ucar.unidata.collab.PropertiedThingaddPropertyChangeListener, doApplyProperties, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, propertyChange, removePropertyChangeListener, showProperties, showPropertiesMethods inherited from class ucar.unidata.collab.SharableImplapplySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
- 
Field Details- 
ATTR_NAME_more_- See Also:
 
- 
BORDERS_more_
- 
BORDER_NAMES_more_
- 
nameFld_more_
- 
displayBtn_more_
- 
header_more_
- 
parent_more_
- 
isRemovedprotected boolean isRemoved_more_
 
- 
- 
Constructor Details- 
ComponentHolderpublic ComponentHolder()_more_
- 
ComponentHolder_more_- Parameters:
- name- _more_
 
- 
ComponentHolder_more_- Parameters:
- name- _more_
- contents- _more_
 
 
- 
- 
Method Details- 
getRoot_more_- Returns:
- _more_
 
- 
getInternalFrame_more_- Returns:
- _more_
 
- 
getHierachicalName_more_- Returns:
- _more_
 
- 
setState_more_- Parameters:
- node- _more_
 
- 
initWith_more_- Parameters:
- node- _more_
 
- 
clearContentsprotected void clearContents()_more_
- 
getContents_more_- Returns:
- _more_
 
- 
doMakeHeader_more_- Returns:
- _more_
 
- 
wrapContents_more_- Parameters:
- contents- _more_
- Returns:
- _more_
 
- 
doMakeContents_more_- Returns:
- _more_
 
- 
getTypeName_more_- Returns:
- _more_
 
- 
showPopupSHow the popup menu- Parameters:
- where- component to show near to
- x- x
- y- y
 
- 
getPropertiesComponents_more_- Overrides:
- getPropertiesComponentsin class- PropertiedThing
- Parameters:
- comps- _more_
- tabIdx- _more_
 
- 
applyPropertiesprotected boolean applyProperties()_more_- Overrides:
- applyPropertiesin class- PropertiedThing
- Returns:
- _more_
 
- 
setBorder_more_- Parameters:
- comp- _more_
 
- 
makeTree_more_- Parameters:
- parent- _more_
- Returns:
- _more_
 
- 
getPopupMenuItemsGet the menu items for the popup menu- Parameters:
- items- List of items to add to
- Returns:
- The items list
 
- 
getBeingShownpublic boolean getBeingShown()_more_- Returns:
- _more_
 
- 
removeDisplayComponentpublic boolean removeDisplayComponent()Remove me- Returns:
- was removed
 
- 
toString_more_
- 
print_more_- Parameters:
- tab- _more_
 
- 
doRemovepublic void doRemove()_more_
- 
setNameSet the Name property.- Parameters:
- value- The new value for Name
 
- 
getNameGet the Name property.- Returns:
- The Name
 
- 
setParentSet the Parent property.- Parameters:
- newParent- _more_
 
- 
getParentGet the Parent property.- Returns:
- The Parent
 
- 
setLayoutRectSet the LayoutRect property.- Parameters:
- value- The new value for LayoutRect
 
- 
getLayoutRectGet the LayoutRect property.- Returns:
- The LayoutRect
 
- 
setCategorySet the Category property.- Parameters:
- value- The new value for Category
 
- 
getCategoryGet the Category property.- Returns:
- The Category
 
- 
getIcon_more_- Returns:
- _more_
 
- 
setShowHeaderpublic void setShowHeader(boolean value) Set the ShowHeader property.- Parameters:
- value- The new value for ShowHeader
 
- 
getShowHeaderpublic boolean getShowHeader()Get the ShowHeader property.- Returns:
- The ShowHeader
 
- 
setBorderSet the Border property.- Parameters:
- value- The new value for Border
 
- 
getBorderGet the Border property.- Returns:
- The Border
 
- 
setBorderLayoutLocationSet the BorderLayoutLocation property.- Parameters:
- value- The new value for BorderLayoutLocation
 
- 
getBorderLayoutLocationGet the BorderLayoutLocation property.- Returns:
- The BorderLayoutLocation
 
- 
setInternalFrameShownpublic void setInternalFrameShown(boolean value) Set the InternalFrameShow property.- Parameters:
- value- The new value for InternalFrameShow
 
- 
getInternalFrameShownpublic boolean getInternalFrameShown()Get the InternalFrameShow property.- Returns:
- The InternalFrameShow
 
 
-