|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.tensegrity.gui.swing.dock.core.TabEntry
Docking framework. This class defines the properties for a single window.
| Constructor Summary | |
TabEntry(java.lang.String name,
javax.swing.JComponent component)
Constructs a new TabEntry. |
|
| Method Summary | |
javax.swing.Action[] |
getActions()
Returns the actions. |
javax.swing.JComponent |
getComponent()
Returns the component. |
CustomTabTitle |
getCustomTabTitle()
Returns the currently active custom tab-title or null
if none is set. |
java.lang.Object |
getDescription()
Returns the descriptions. |
javax.swing.Icon |
getIcon()
Returns the icon. |
java.lang.String |
getName()
Returns the name. |
java.lang.Object |
getProperty(java.lang.Object key)
Returns a client property |
java.util.Collection |
getPropertyKeys()
Returns all registered property-keys. |
java.lang.Object |
getUserObject()
Returns the user-object. |
boolean |
isDirty()
Returns the dirty flag. |
void |
putProperty(java.lang.Object key,
java.lang.Object value)
Puts a client property. |
void |
setActions(javax.swing.Action[] actions)
Sets the actions of this entry. |
void |
setActionsByName(java.lang.String[] names)
Sets the actions for this entry by name. |
void |
setCustomTabTitle(CustomTabTitle customTabTitle)
Sets an optional custom tab-title. |
void |
setDescription(java.lang.Object description)
Sets the description object. |
void |
setDirty(boolean dirty)
Sets the dirty flag. |
void |
setIcon(javax.swing.Icon icon)
Sets the icon. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setUserObject(java.lang.Object userObject)
Sets a user object. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TabEntry(java.lang.String name,
javax.swing.JComponent component)
TabEntry.
name - the name for the entry.component - the component nested inside the entry.| Method Detail |
public final void putProperty(java.lang.Object key,
java.lang.Object value)
key - the key of the property.value - the value of the property.public final java.lang.Object getProperty(java.lang.Object key)
key - the key of the property.
null if it doesn't
exist.public final java.util.Collection getPropertyKeys()
public final void setUserObject(java.lang.Object userObject)
userObject - the user-object to set.public final void setActions(javax.swing.Action[] actions)
actions - the actions of this entry.public final void setActionsByName(java.lang.String[] names)
names - the names of the actions for this entry.public final void setDescription(java.lang.Object description)
description - the description object.public final void setIcon(javax.swing.Icon icon)
icon - the icon.public final void setName(java.lang.String name)
name - the name.public final java.lang.String getName()
public final javax.swing.JComponent getComponent()
public final java.lang.Object getUserObject()
public final javax.swing.Action[] getActions()
public final java.lang.Object getDescription()
public final javax.swing.Icon getIcon()
public final void setDirty(boolean dirty)
dirty - the dirty flag.public final boolean isDirty()
public void setCustomTabTitle(CustomTabTitle customTabTitle)
customTabTitle - the custom tab-title to use.public CustomTabTitle getCustomTabTitle()
null
if none is set.
null.public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||