Class EditItem<T extends PersistentDomainObject<T>>

java.lang.Object
javafx.scene.control.MenuItem
org.tentackle.fx.rdc.contextmenu.EditItem<T>
Type Parameters:
T - the PDO type
All Implemented Interfaces:
javafx.css.Styleable, javafx.event.EventTarget, PdoTreeContextMenuItem<T>

@PdoTreeContextMenuItemService(value=PersistentDomainObject.class, ordinal=150) public class EditItem<T extends PersistentDomainObject<T>> extends javafx.scene.control.MenuItem implements PdoTreeContextMenuItem<T>
Tree menu item to edit a PDO.
Opens the PDO in a modal CRUD dialog and replaces the tree item afterwards. Disabled if the GUI provider does not allow editing.
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.
  • 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

    • EditItem

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