public class FXDockableEntryRenderer extends AbstractDataRenderer<FXDockableEntry>
DataRenderer
for FXDockableEntry
.Constructor and Description |
---|
FXDockableEntryRenderer(int graphicSize)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
Node |
getGraphic(FXDockableEntry item)
This DataRenderer returns no graphic node by default (null).
|
String |
getText(FXDockableEntry item)
Gets a text representation of the item.
|
Tooltip |
getTooltip(FXDockableEntry item)
This DataRenderer returns no tootip by default (null).
|
getStyleClass, getStyleClass
public FXDockableEntryRenderer(int graphicSize)
graphicSize
- the size of the graphicpublic String getText(FXDockableEntry item)
item
- the item to renderpublic Node getGraphic(FXDockableEntry item)
getGraphic
in interface DataRenderer<FXDockableEntry>
getGraphic
in class AbstractDataRenderer<FXDockableEntry>
item
- the item to renderpublic Tooltip getTooltip(FXDockableEntry item)
getTooltip
in interface DataRenderer<FXDockableEntry>
getTooltip
in class AbstractDataRenderer<FXDockableEntry>
item
- the item to renderCopyright © 2012–2019 Drombler. All rights reserved.