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
PropertiesTypePropertyDescriptionObjectProperty<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 theonMouseClickedproperty.ObjectProperty<EventHandler<? super MouseEvent>>Defines a function to be called when a mouse button has been clicked (pressed and released).default voidsetOnMouseClicked(EventHandler<? super MouseEvent> value) Sets the value of theonMouseClickedproperty.
-
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 theonMouseClickedproperty.- Property description:
- Defines a function to be called when a mouse button has been clicked (pressed and released).
- Parameters:
value- the value for theonMouseClickedproperty- See Also:
-
getOnMouseClicked
Gets the value of theonMouseClickedproperty.- Property description:
- Defines a function to be called when a mouse button has been clicked (pressed and released).
- Returns:
- the value of the
onMouseClickedproperty - 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
onMouseClickedproperty - See Also:
-