public class ComponentHolder extends PropertiedThing
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_NAME
_more_
|
static java.lang.String[] |
BORDER_NAMES
_more_
|
static java.lang.String[] |
BORDERS
_more_
|
protected javax.swing.JButton |
displayBtn
_more_
|
protected javax.swing.JComponent |
header
_more_
|
protected boolean |
isRemoved
_more_
|
protected javax.swing.JTextField |
nameFld
_more_
|
protected ComponentGroup |
parent
_more_
|
propertiesDialog
Constructor and Description |
---|
ComponentHolder()
_more_
|
ComponentHolder(java.lang.String name)
_more_
|
ComponentHolder(java.lang.String name,
javax.swing.JComponent contents)
_more_
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
applyProperties()
_more_
|
protected void |
clearContents()
_more_
|
javax.swing.JComponent |
doMakeContents()
_more_
|
protected javax.swing.JComponent |
doMakeHeader()
_more_
|
void |
doRemove()
_more_
|
boolean |
getBeingShown()
_more_
|
java.lang.String |
getBorder()
Get the Border property.
|
java.lang.String |
getBorderLayoutLocation()
Get the BorderLayoutLocation property.
|
java.lang.String |
getCategory()
Get the Category property.
|
javax.swing.JComponent |
getContents()
_more_
|
java.lang.String |
getHierachicalName()
_more_
|
javax.swing.ImageIcon |
getIcon()
_more_
|
javax.swing.JInternalFrame |
getInternalFrame()
_more_
|
boolean |
getInternalFrameShown()
Get the InternalFrameShow property.
|
java.awt.Rectangle |
getLayoutRect()
Get the LayoutRect property.
|
java.lang.String |
getName()
Get the Name property.
|
ComponentGroup |
getParent()
Get the Parent property.
|
protected java.util.List |
getPopupMenuItems(java.util.List items)
Get the menu items for the popup menu
|
protected void |
getPropertiesComponents(java.util.List comps,
int tabIdx)
_more_
|
ComponentGroup |
getRoot()
_more_
|
boolean |
getShowHeader()
Get the ShowHeader property.
|
java.lang.String |
getTypeName()
_more_
|
void |
initWith(org.w3c.dom.Element node)
_more_
|
javax.swing.tree.DefaultMutableTreeNode |
makeTree(javax.swing.tree.DefaultMutableTreeNode parent)
_more_
|
void |
print(java.lang.String tab)
_more_
|
boolean |
removeDisplayComponent()
Remove me
|
protected void |
setBorder(javax.swing.JComponent comp)
_more_
|
void |
setBorder(java.lang.String value)
Set the Border property.
|
void |
setBorderLayoutLocation(java.lang.String value)
Set the BorderLayoutLocation property.
|
void |
setCategory(java.lang.String value)
Set the Category property.
|
void |
setInternalFrameShown(boolean value)
Set the InternalFrameShow property.
|
void |
setLayoutRect(java.awt.Rectangle value)
Set the LayoutRect property.
|
void |
setName(java.lang.String value)
Set the Name property.
|
void |
setParent(ComponentGroup newParent)
Set the Parent property.
|
void |
setShowHeader(boolean value)
Set the ShowHeader property.
|
void |
setState(org.w3c.dom.Element node)
_more_
|
void |
showPopup(javax.swing.JComponent where,
int x,
int y)
SHow the popup menu
|
java.lang.String |
toString()
_more_
|
protected javax.swing.JComponent |
wrapContents(javax.swing.JComponent contents)
_more_
|
addPropertyChangeListener, doApplyProperties, firePropertyChange, firePropertyChange, getPropertyListeners, getPropertyTabs, isShowing, propertyChange, removePropertyChangeListener, showProperties, showProperties
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getReceiveShareTime, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setReceiveShareTime, setShareGroup, setSharing, setUniqueId, showSharableDialog
public static final java.lang.String ATTR_NAME
public static final java.lang.String[] BORDERS
public static final java.lang.String[] BORDER_NAMES
protected javax.swing.JTextField nameFld
protected javax.swing.JButton displayBtn
protected javax.swing.JComponent header
protected ComponentGroup parent
protected boolean isRemoved
public ComponentHolder()
public ComponentHolder(java.lang.String name)
name
- _more_public ComponentHolder(java.lang.String name, javax.swing.JComponent contents)
name
- _more_contents
- _more_public ComponentGroup getRoot()
public javax.swing.JInternalFrame getInternalFrame()
public java.lang.String getHierachicalName()
public void setState(org.w3c.dom.Element node)
node
- _more_public void initWith(org.w3c.dom.Element node)
node
- _more_protected void clearContents()
public javax.swing.JComponent getContents()
protected javax.swing.JComponent doMakeHeader()
protected javax.swing.JComponent wrapContents(javax.swing.JComponent contents)
contents
- _more_public javax.swing.JComponent doMakeContents()
public java.lang.String getTypeName()
public void showPopup(javax.swing.JComponent where, int x, int y)
where
- component to show near tox
- xy
- yprotected void getPropertiesComponents(java.util.List comps, int tabIdx)
getPropertiesComponents
in class PropertiedThing
comps
- _more_tabIdx
- _more_protected boolean applyProperties()
applyProperties
in class PropertiedThing
protected void setBorder(javax.swing.JComponent comp)
comp
- _more_public javax.swing.tree.DefaultMutableTreeNode makeTree(javax.swing.tree.DefaultMutableTreeNode parent)
parent
- _more_protected java.util.List getPopupMenuItems(java.util.List items)
items
- List of items to add topublic boolean getBeingShown()
public boolean removeDisplayComponent()
public java.lang.String toString()
toString
in class java.lang.Object
public void print(java.lang.String tab)
tab
- _more_public void doRemove()
public void setName(java.lang.String value)
value
- The new value for Namepublic java.lang.String getName()
public void setParent(ComponentGroup newParent)
newParent
- _more_public ComponentGroup getParent()
public void setLayoutRect(java.awt.Rectangle value)
value
- The new value for LayoutRectpublic java.awt.Rectangle getLayoutRect()
public void setCategory(java.lang.String value)
value
- The new value for Categorypublic java.lang.String getCategory()
public javax.swing.ImageIcon getIcon()
public void setShowHeader(boolean value)
value
- The new value for ShowHeaderpublic boolean getShowHeader()
public void setBorder(java.lang.String value)
value
- The new value for Borderpublic java.lang.String getBorder()
public void setBorderLayoutLocation(java.lang.String value)
value
- The new value for BorderLayoutLocationpublic java.lang.String getBorderLayoutLocation()
public void setInternalFrameShown(boolean value)
value
- The new value for InternalFrameShowpublic boolean getInternalFrameShown()