|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.infonode.properties.propertymap.PropertyMapContainer net.infonode.docking.properties.ViewProperties
public class ViewProperties
Properties and property values for views.
Field Summary | |
---|---|
static BooleanProperty |
ALWAYS_SHOW_TITLE
If true the view will always be placed in a TabWindow so that it's title is shown. |
static IconProperty |
ICON
The view icon. |
static PropertyMapGroup |
PROPERTIES
Property group containing all view properties. |
static StringProperty |
TITLE
The view title. |
static PropertyMapProperty |
VIEW_TITLE_BAR_PROPERTIES
Properties for the view title bar |
Constructor Summary | |
---|---|
ViewProperties()
Creates an empty property object. |
|
ViewProperties(PropertyMap map)
Creates a property object containing the map. |
|
ViewProperties(ViewProperties inheritFrom)
Creates a property object that inherit values from another property object. |
Method Summary | |
---|---|
ViewProperties |
addSuperObject(ViewProperties properties)
Adds a super object from which property values are inherited. |
boolean |
getAlwaysShowTitle()
Returns true if the view shows it's title even though it's not in a tabbed panel with other windows. |
javax.swing.Icon |
getIcon()
Returns the view icon. |
java.lang.String |
getTitle()
Returns the view title. |
ViewTitleBarProperties |
getViewTitleBarProperties()
Returns the property values for the title bar in the view |
ViewProperties |
removeSuperObject()
Deprecated. Use removeSuperObject(ViewProperties) instead. |
ViewProperties |
removeSuperObject(ViewProperties superObject)
Removes a super object. |
ViewProperties |
setAlwaysShowTitle(boolean showTitle)
Set to true the view should always be placed in a TabWindow so that it's title is shown. |
ViewProperties |
setIcon(javax.swing.Icon icon)
Sets the view icon. |
ViewProperties |
setTitle(java.lang.String title)
Sets the view title. |
Methods inherited from class net.infonode.properties.propertymap.PropertyMapContainer |
---|
getMap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final PropertyMapGroup PROPERTIES
public static final PropertyMapProperty VIEW_TITLE_BAR_PROPERTIES
getViewTitleBarProperties()
public static final BooleanProperty ALWAYS_SHOW_TITLE
public static final StringProperty TITLE
public static final IconProperty ICON
Constructor Detail |
---|
public ViewProperties()
public ViewProperties(PropertyMap map)
map
- the property mappublic ViewProperties(ViewProperties inheritFrom)
inheritFrom
- the object from which to inherit property valuesMethod Detail |
---|
public ViewProperties addSuperObject(ViewProperties properties)
properties
- the object from which to inherit property values
public ViewProperties removeSuperObject()
removeSuperObject(ViewProperties)
instead.
public ViewProperties removeSuperObject(ViewProperties superObject)
superObject
- the super object to remove
public ViewTitleBarProperties getViewTitleBarProperties()
public boolean getAlwaysShowTitle()
public ViewProperties setAlwaysShowTitle(boolean showTitle)
showTitle
- true the view should always be placed in a TabWindow so that it's title is shown
public ViewProperties setTitle(java.lang.String title)
title
- the view title
public ViewProperties setIcon(javax.swing.Icon icon)
icon
- the view icon
public java.lang.String getTitle()
public javax.swing.Icon getIcon()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |