|
||||||||||
| 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
ucar.unidata.ui.ComponentHolder
public class ComponentHolder
| Field Summary | |
|---|---|
static String |
ATTR_NAME
_more_ |
static String[] |
BORDER_NAMES
_more_ |
static String[] |
BORDERS
_more_ |
protected JButton |
displayBtn
_more_ |
protected JComponent |
header
_more_ |
protected boolean |
isRemoved
_more_ |
protected JTextField |
nameFld
_more_ |
protected ComponentGroup |
parent
_more_ |
| Fields inherited from class ucar.unidata.collab.PropertiedThing |
|---|
propertiesDialog |
| Constructor Summary | |
|---|---|
ComponentHolder()
_more_ |
|
ComponentHolder(String name)
_more_ |
|
ComponentHolder(String name,
JComponent contents)
_more_ |
|
| Method Summary | |
|---|---|
protected boolean |
applyProperties()
_more_ |
protected void |
clearContents()
_more_ |
JComponent |
doMakeContents()
_more_ |
protected JComponent |
doMakeHeader()
|
void |
doRemove()
_more_ |
boolean |
getBeingShown()
_more_ |
String |
getBorder()
Get the Border property. |
String |
getBorderLayoutLocation()
Get the BorderLayoutLocation property. |
String |
getCategory()
Get the Category property. |
JComponent |
getContents()
_more_ |
String |
getHierachicalName()
|
ImageIcon |
getIcon()
|
JInternalFrame |
getInternalFrame()
_more_ |
Rectangle |
getLayoutRect()
Get the LayoutRect property. |
String |
getName()
Get the Name property. |
ComponentGroup |
getParent()
Get the Parent property. |
protected List |
getPopupMenuItems(List items)
Get the menu items for the popup menu |
protected void |
getPropertiesComponents(List comps,
int tabIdx)
_more_ |
ComponentGroup |
getRoot()
|
boolean |
getShowHeader()
Get the ShowHeader property. |
String |
getTypeName()
_more_ |
void |
initWith(Element node)
_more_ |
DefaultMutableTreeNode |
makeTree(DefaultMutableTreeNode parent)
_more_ |
void |
print(String tab)
_more_ |
boolean |
removeDisplayComponent()
Remove me |
protected void |
setBorder(JComponent comp)
_more_ |
void |
setBorder(String value)
Set the Border property. |
void |
setBorderLayoutLocation(String value)
Set the BorderLayoutLocation property. |
void |
setCategory(String value)
Set the Category property. |
void |
setLayoutRect(Rectangle value)
Set the LayoutRect property. |
void |
setName(String value)
Set the Name property. |
void |
setParent(ComponentGroup newParent)
Set the Parent property. |
void |
setShowHeader(boolean value)
Set the ShowHeader property. |
void |
setState(Element node)
_more_ |
void |
showPopup(JComponent where,
int x,
int y)
SHow the popup menu |
String |
toString()
_more_ |
protected JComponent |
wrapContents(JComponent contents)
|
| Methods inherited from class ucar.unidata.collab.PropertiedThing |
|---|
addPropertyChangeListener, doApplyProperties, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, propertyChange, removePropertyChangeListener, showProperties, showProperties |
| Methods inherited from class ucar.unidata.collab.SharableImpl |
|---|
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setShareGroup, setSharing, setUniqueId, showSharableDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ATTR_NAME
public static final String[] BORDERS
public static final String[] BORDER_NAMES
protected JTextField nameFld
protected JButton displayBtn
protected JComponent header
protected ComponentGroup parent
protected boolean isRemoved
| Constructor Detail |
|---|
public ComponentHolder()
public ComponentHolder(String name)
name - _more_
public ComponentHolder(String name,
JComponent contents)
name - _more_contents - _more_| Method Detail |
|---|
public ComponentGroup getRoot()
public JInternalFrame getInternalFrame()
public String getHierachicalName()
public void setState(Element node)
node - _more_public void initWith(Element node)
node - _more_protected void clearContents()
public JComponent getContents()
protected JComponent doMakeHeader()
protected JComponent wrapContents(JComponent contents)
public JComponent doMakeContents()
public String getTypeName()
public void showPopup(JComponent where,
int x,
int y)
where - component to show near tox - xy - y
protected void getPropertiesComponents(List comps,
int tabIdx)
getPropertiesComponents in class PropertiedThingcomps - _more_tabIdx - _more_protected boolean applyProperties()
applyProperties in class PropertiedThingprotected void setBorder(JComponent comp)
comp - _more_public DefaultMutableTreeNode makeTree(DefaultMutableTreeNode parent)
parent - _more_
protected List getPopupMenuItems(List items)
items - List of items to add to
public boolean getBeingShown()
public boolean removeDisplayComponent()
public String toString()
toString in class Objectpublic void print(String tab)
tab - _more_public void doRemove()
public void setName(String value)
value - The new value for Namepublic String getName()
public void setParent(ComponentGroup newParent)
newParent - _more_public ComponentGroup getParent()
public void setLayoutRect(Rectangle value)
value - The new value for LayoutRectpublic Rectangle getLayoutRect()
public void setCategory(String value)
value - The new value for Categorypublic String getCategory()
public ImageIcon getIcon()
public void setShowHeader(boolean value)
value - The new value for ShowHeaderpublic boolean getShowHeader()
public void setBorder(String value)
value - The new value for Borderpublic String getBorder()
public void setBorderLayoutLocation(String value)
value - The new value for BorderLayoutLocationpublic String getBorderLayoutLocation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||