public class FXDockableData extends Object implements DockableData
| Type | Property and Description |
|---|---|
ObjectProperty<ContextMenu> |
contextMenu
The
ContextMenu. |
ObjectProperty<GraphicFactory<Node>> |
graphicFactory
The
GraphicFactory. |
ObjectProperty<Node> |
graphic
The graphic of this Dockable.
|
BooleanProperty |
modified
The modified flag indicates if the data represented by the Dockable has been modified.
|
StringProperty |
title
The title of this Dockable.
|
ObjectProperty<Tooltip> |
tooltip
The tooltip for this Dockable.
|
MODIFIED_PROPERTY_NAME, TITLE_PROPERTY_NAME| Constructor and Description |
|---|
FXDockableData()
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
ObjectProperty<ContextMenu> |
contextMenuProperty()
The
ContextMenu. |
ContextMenu |
getContextMenu()
Gets the value of the property contextMenu.
|
Node |
getGraphic()
Gets the value of the property graphic.
|
GraphicFactory<Node> |
getGraphicFactory()
Gets the value of the property graphicFactory.
|
String |
getTitle()
Gets the value of the property title.
|
Tooltip |
getTooltip()
Gets the value of the property tooltip.
|
ObjectProperty<GraphicFactory<Node>> |
graphicFactoryProperty()
The
GraphicFactory. |
ObjectProperty<Node> |
graphicProperty()
The graphic of this Dockable.
|
boolean |
isModified()
Gets the value of the property modified.
|
BooleanProperty |
modifiedProperty()
The modified flag indicates if the data represented by the Dockable has been modified.
|
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener) |
void |
setContextMenu(ContextMenu contextMenu)
Sets the value of the property contextMenu.
|
void |
setGraphic(Node graphic)
Sets the value of the property graphic.
|
void |
setGraphicFactory(GraphicFactory<Node> graphicFactory)
Sets the value of the property graphicFactory.
|
void |
setModified(boolean modified)
Sets the value of the property modified.
|
void |
setTitle(String title)
Sets the value of the property title.
|
void |
setTooltip(Tooltip tooltip)
Sets the value of the property tooltip.
|
StringProperty |
titleProperty()
The title of this Dockable.
|
ObjectProperty<Tooltip> |
tooltipProperty()
The tooltip for this Dockable.
|
String |
toString() |
public StringProperty titleProperty
getTitle(),
setTitle(String)public ObjectProperty<Tooltip> tooltipProperty
getTooltip(),
setTooltip(Tooltip)public ObjectProperty<Node> graphicProperty
getGraphic(),
setGraphic(Node)public ObjectProperty<GraphicFactory<Node>> graphicFactoryProperty
GraphicFactory.public ObjectProperty<ContextMenu> contextMenuProperty
ContextMenu. TODO: needed?getContextMenu(),
setContextMenu(ContextMenu)public BooleanProperty modifiedProperty
isModified(),
setModified(boolean)public final String getTitle()
getTitle in interface DockableDatapublic final void setTitle(String title)
setTitle in interface DockableDatatitle - the title of a Dockablepublic StringProperty titleProperty()
getTitle(),
setTitle(String)public final Tooltip getTooltip()
public final void setTooltip(Tooltip tooltip)
public ObjectProperty<Tooltip> tooltipProperty()
getTooltip(),
setTooltip(Tooltip)public final Node getGraphic()
public final void setGraphic(Node graphic)
public ObjectProperty<Node> graphicProperty()
getGraphic(),
setGraphic(Node)public final GraphicFactory<Node> getGraphicFactory()
GraphicFactory.public final void setGraphicFactory(GraphicFactory<Node> graphicFactory)
GraphicFactory.public ObjectProperty<GraphicFactory<Node>> graphicFactoryProperty()
GraphicFactory.public final ContextMenu getContextMenu()
ContextMenu. TODO: needed?public final void setContextMenu(ContextMenu contextMenu)
ContextMenu. TODO: needed?public ObjectProperty<ContextMenu> contextMenuProperty()
ContextMenu. TODO: needed?getContextMenu(),
setContextMenu(ContextMenu)public final boolean isModified()
isModified in interface DockableDatapublic final void setModified(boolean modified)
setModified in interface DockableDatapublic BooleanProperty modifiedProperty()
isModified(),
setModified(boolean)public final void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener in interface org.softsmithy.lib.beans.Beanpublic final void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener in interface org.softsmithy.lib.beans.BeanCopyright © 2012–2018 Drombler. All rights reserved.