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>

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.
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

    Constructors
    Constructor
    Description
    Creates a menu item.
    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

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ViewItem

      public ViewItem(PdoTreeCell<T> cell)
      Creates a menu item.
      Parameters:
      cell - the tree cell
    • ViewItem

      public ViewItem(PdoTableCell<?,T> cell)
      Creates a menu item.
      Parameters:
      cell - the table cell