public class FXDockableData extends Object implements DockableData
DockableData
implementation.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 DockableData
public final void setTitle(String title)
setTitle
in interface DockableData
title
- 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 DockableData
public final void setModified(boolean modified)
setModified
in interface DockableData
modified
- the modified flag to setpublic BooleanProperty modifiedProperty()
isModified()
,
setModified(boolean)
public final void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
addPropertyChangeListener
in interface org.softsmithy.lib.beans.Bean
public final void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
removePropertyChangeListener
in interface org.softsmithy.lib.beans.Bean
Copyright © 2012–2019 Drombler. All rights reserved.