Class DisplayPopupEvent

  • All Implemented Interfaces:
    java.io.Serializable

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

      • 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
      • DisplayPopupEvent

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

      • 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