Interface HasOnMouseClickedProperty
- All Known Subinterfaces:
INode
,PreferenceResizableNode
- All Known Implementing Classes:
AnchorPane
,Arc
,BorderPane
,Button
,ButtonBar
,ButtonBase
,Canvas
,Cell
,CheckBox
,ChoiceBox
,Circle
,ComboBoxBase
,ContextMenuContent
,ContextMenuContent.MenuItemContainer
,Control
,DatePicker
,DialogPane
,FlowPane
,GridPane
,Group
,HBox
,Hyperlink
,ImageView
,Label
,Labeled
,LabeledText
,Line
,MediaView
,Node
,Pane
,Parent
,PasswordField
,Path
,PopupControl.CSSBridge
,ProgressBar
,ProgressIndicator
,RadioButton
,Rectangle
,Region
,ScrollPane
,Separator
,Shape
,Slider
,SplitPane
,StackPane
,SubtractShape
,SVGPath
,TabPane
,Text
,TextArea
,TextField
,TextFlow
,TextInputControl
,TitledPane
,ToggleButton
,ToolkitTextBox
,VBox
,WebView
public interface HasOnMouseClickedProperty
- Author:
- Bruno Salmon
-
Property Summary
TypePropertyDescriptionObjectProperty<EventHandler<? super MouseEvent>>
Defines a function to be called when a mouse button has been clicked (pressed and released). -
Method Summary
Modifier and TypeMethodDescriptiondefault EventHandler<? super MouseEvent>
Gets the value of theonMouseClicked
property.ObjectProperty<EventHandler<? super MouseEvent>>
Defines a function to be called when a mouse button has been clicked (pressed and released).default void
setOnMouseClicked
(EventHandler<? super MouseEvent> value) Sets the value of theonMouseClicked
property.
-
Property Details
-
onMouseClicked
ObjectProperty<EventHandler<? super MouseEvent>> onMouseClickedPropertyDefines a function to be called when a mouse button has been clicked (pressed and released).
-
-
Method Details
-
setOnMouseClicked
Sets the value of theonMouseClicked
property.- Property description:
- Defines a function to be called when a mouse button has been clicked (pressed and released).
- Parameters:
value
- the value for theonMouseClicked
property- See Also:
-
getOnMouseClicked
Gets the value of theonMouseClicked
property.- Property description:
- Defines a function to be called when a mouse button has been clicked (pressed and released).
- Returns:
- the value of the
onMouseClicked
property - See Also:
-
onMouseClickedProperty
ObjectProperty<EventHandler<? super MouseEvent>> onMouseClickedProperty()Defines a function to be called when a mouse button has been clicked (pressed and released).- Returns:
- the
onMouseClicked
property - See Also:
-