Class DisplayPopupEvent

java.lang.Object
org.zkoss.zk.ui.event.Event
com.saperion.ngc.events.DisplayPopupEvent
All Implemented Interfaces:
Serializable

public class DisplayPopupEvent extends org.zkoss.zk.ui.event.Event
ZK event to display a document in a popup.
See Also:
  • Constructor Details

    • DisplayPopupEvent

      public DisplayPopupEvent(org.zkoss.zk.ui.Component target, DocumentId id, boolean isWithCtrl, boolean editMode)
      Constructor.
      Parameters:
      target - target component
      id - Document id
      editMode - set to true to set the viewer to edit mode
      isWithCtrl - Is with ctrl
    • DisplayPopupEvent

      public DisplayPopupEvent(org.zkoss.zk.ui.Component target, DocumentId id, boolean currentRevision, boolean isWithCtrl, boolean editMode)
      Constructor.
      Parameters:
      target - target component
      currentRevision - currentRevision
      id - Document id
      editMode - set to true to set the viewer to edit mode
      isWithCtrl - Is with ctrl
  • Method Details

    • getDocumentId

      public DocumentId getDocumentId()
      Returns:
      the document revision id
    • isWithCtrl

      public boolean isWithCtrl()
      Returns:
      true if ctrl was pressed
    • getEditMode

      public boolean getEditMode()
      Returns:
      edit mode
    • getCurrentRevision

      public boolean getCurrentRevision()
      Returns:
      currentRevision