Package net.infonode.docking.properties
Class ViewProperties
java.lang.Object
net.infonode.properties.propertymap.PropertyMapContainer
net.infonode.docking.properties.ViewProperties
Properties and property values for views.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanPropertyIf true the view will always be placed in a TabWindow so that it's title is shown.static final IconPropertyThe view icon.static final PropertyMapGroupProperty group containing all view properties.static final StringPropertyThe view title.static final PropertyMapPropertyProperties for the view title bar -
Constructor Summary
ConstructorsConstructorDescriptionCreates an empty property object.ViewProperties(ViewProperties inheritFrom) Creates a property object that inherit values from another property object.Creates a property object containing the map. -
Method Summary
Modifier and TypeMethodDescriptionaddSuperObject(ViewProperties properties) Adds a super object from which property values are inherited.booleanReturns true if the view shows it's title even though it's not in a tabbed panel with other windows.getIcon()Returns the view icon.getTitle()Returns the view title.Returns the property values for the title bar in the viewDeprecated.removeSuperObject(ViewProperties superObject) Removes a super object.setAlwaysShowTitle(boolean showTitle) Set to true the view should always be placed in a TabWindow so that it's title is shown.Sets the view icon.Sets the view title.Methods inherited from class net.infonode.properties.propertymap.PropertyMapContainer
getMap
-
Field Details
-
PROPERTIES
Property group containing all view properties. -
VIEW_TITLE_BAR_PROPERTIES
Properties for the view title bar- Since:
- IDW 1.4.0
- See Also:
-
ALWAYS_SHOW_TITLE
If true the view will always be placed in a TabWindow so that it's title is shown. -
TITLE
The view title. -
ICON
The view icon.
-
-
Constructor Details
-
ViewProperties
public ViewProperties()Creates an empty property object. -
ViewProperties
Creates a property object containing the map.- Parameters:
map- the property map
-
ViewProperties
Creates a property object that inherit values from another property object.- Parameters:
inheritFrom- the object from which to inherit property values
-
-
Method Details
-
addSuperObject
Adds a super object from which property values are inherited.- Parameters:
properties- the object from which to inherit property values- Returns:
- this
-
removeSuperObject
Deprecated.UseremoveSuperObject(ViewProperties)instead.Removes the last added super object.- Returns:
- this
- Since:
- IDW 1.1.0
-
removeSuperObject
Removes a super object.- Parameters:
superObject- the super object to remove- Returns:
- this
- Since:
- IDW 1.3.0
-
getViewTitleBarProperties
Returns the property values for the title bar in the view- Returns:
- the property values for the title bar in the view
- Since:
- IDW 1.4.0
-
getAlwaysShowTitle
public boolean getAlwaysShowTitle()Returns true if the view shows it's title even though it's not in a tabbed panel with other windows.- Returns:
- true if the view shows it's title even though it's not in a tabbed panel with other windows
-
setAlwaysShowTitle
Set to true the view should always be placed in a TabWindow so that it's title is shown.- Parameters:
showTitle- true the view should always be placed in a TabWindow so that it's title is shown- Returns:
- this
-
setTitle
Sets the view title.- Parameters:
title- the view title- Returns:
- this
-
setIcon
Sets the view icon.- Parameters:
icon- the view icon- Returns:
- this
-
getTitle
Returns the view title.- Returns:
- the view title
-
getIcon
Returns the view icon.- Returns:
- the view icon
-
removeSuperObject(ViewProperties)instead.