Class ViewItem<T extends PersistentDomainObject<T>>
java.lang.Object
javafx.scene.control.MenuItem
org.tentackle.fx.rdc.contextmenu.ViewItem<T>
- Type Parameters:
T- the PDO type
- All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget, PdoTableContextMenuItem<T>, PdoTreeContextMenuItem<T>
@PdoTreeContextMenuItemService(value=PersistentDomainObject.class,
ordinal=140)
@PdoTableContextMenuItemService(value=PersistentDomainObject.class,
ordinal=140)
public class ViewItem<T extends PersistentDomainObject<T>>
extends javafx.scene.control.MenuItem
implements PdoTreeContextMenuItem<T>, PdoTableContextMenuItem<T>
Tree and table menu item to view a PDO.
Opens the PDO in a non-modal, read-only CRUD dialog. Disabled if the GUI provider does not allow viewing.
Opens the PDO in a non-modal, read-only CRUD dialog. Disabled if the GUI provider does not allow viewing.
- Author:
- harald
-
Property Summary
Properties inherited from class javafx.scene.control.MenuItem
accelerator, disable, graphic, id, mnemonicParsing, onAction, onMenuValidation, parentMenu, parentPopup, style, text, visible -
Field Summary
Fields inherited from class javafx.scene.control.MenuItem
MENU_VALIDATION_EVENT -
Constructor Summary
ConstructorsConstructorDescriptionViewItem(PdoTableCell<?, T> cell) Creates a menu item.ViewItem(PdoTreeCell<T> cell) Creates a menu item. -
Method Summary
Methods inherited from class javafx.scene.control.MenuItem
acceleratorProperty, addEventFilter, addEventHandler, buildEventDispatchChain, disableProperty, fire, getAccelerator, getCssMetaData, getGraphic, getId, getOnAction, getOnMenuValidation, getParentMenu, getParentPopup, getProperties, getPseudoClassStates, getStyle, getStyleableNode, getStyleableParent, getStyleClass, getText, getTypeSelector, getUserData, graphicProperty, idProperty, isDisable, isMnemonicParsing, isVisible, mnemonicParsingProperty, onActionProperty, onMenuValidationProperty, parentMenuProperty, parentPopupProperty, removeEventFilter, removeEventHandler, setAccelerator, setDisable, setGraphic, setId, setMnemonicParsing, setOnAction, setOnMenuValidation, setParentMenu, setParentPopup, setStyle, setText, setUserData, setVisible, styleProperty, textProperty, toString, visibleProperty
-
Constructor Details
-
ViewItem
-
ViewItem
-