Control
type (joe.win
)
Extends: Region
Extended By: SplitPane, Button, TabPane, MenuBar, Separator, Label, ListView
The Control
type is the base class for JavaFX
controls like the Label
and Button
widgets.
- control.tooltip(tooltip) → this
- control.tooltipText(text) → this
Region Methods
- region.height(height) → this
- region.padding(pixels) → this
- region.padding(top, right, bottom, left) → this
- region.prefHeight(height) → this
- region.prefWidth(width) → this
- region.width(width) → this
Node Methods
- node.disable([flag]) → this
- node.getProperty(keyword) → value
- node.gridColumn(index) → this
- node.gridColumnSpan(span) → this
- node.gridHalignment(hpos) → this
- node.gridHgrow([priority]) → this
- node.gridMargin(insets) → this
- node.gridRow(index) → this
- node.gridRowSpan(span) → this
- node.gridValignment(vpos) → this
- node.gridVgrow([priority]) → this
- node.hgrow([priority]) → this
- node.id(id) → this
- node.isDisabled() → joe.Boolean
- node.listenTo(keyword, listener) → this
- node.properties() → joe.Set
- node.setProperty(keyword, value) → this
- node.splitResizeWithParent(flag) → this
- node.styleClasses() → joe.List
- node.styles(style, ...) → this
- node.toString() → joe.String
- node.vgrow([priority]) → this
Properties
Control
widgets have the following properties, in addition to
those inherited from superclasses.
Property | Type | Description |
---|---|---|
#tooltip | [[Tooltip]] | The control's tooltip |
Methods
control.tooltip()
control.tooltip(tooltip) → this
Sets the control's [[Tooltip]], or null for none.
control.tooltipText()
control.tooltipText(text) → this
Gives the control a tooltip with the given text.