Package com.saperion.ngc.events
Class DisplayPopupEvent
- java.lang.Object
-
- org.zkoss.zk.ui.event.Event
-
- com.saperion.ngc.events.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 Summary
Constructors Constructor Description DisplayPopupEvent(org.zkoss.zk.ui.Component target, DocumentId id, boolean isWithCtrl, boolean editMode)
Constructor.DisplayPopupEvent(org.zkoss.zk.ui.Component target, DocumentId id, boolean currentRevision, boolean isWithCtrl, boolean editMode)
Constructor.DisplayPopupEvent(org.zkoss.zk.ui.Component target, DocumentId id, boolean isWithCtrl, boolean editMode, ResultSetViewImpl resultSetView)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getCurrentRevision()
DocumentId
getDocumentId()
boolean
getEditMode()
ResultSetViewImpl
getView()
boolean
isWithCtrl()
-
-
-
Constructor Detail
-
DisplayPopupEvent
public DisplayPopupEvent(org.zkoss.zk.ui.Component target, DocumentId id, boolean isWithCtrl, boolean editMode)
Constructor.- Parameters:
target
- target componentid
- Document ideditMode
- set to true to set the viewer to edit modeisWithCtrl
- Is with ctrl
-
DisplayPopupEvent
public DisplayPopupEvent(org.zkoss.zk.ui.Component target, DocumentId id, boolean currentRevision, boolean isWithCtrl, boolean editMode)
Constructor.- Parameters:
target
- target componentcurrentRevision
- currentRevisionid
- Document ideditMode
- set to true to set the viewer to edit modeisWithCtrl
- Is with ctrl
-
DisplayPopupEvent
public DisplayPopupEvent(org.zkoss.zk.ui.Component target, DocumentId id, boolean isWithCtrl, boolean editMode, ResultSetViewImpl resultSetView)
Constructor.- Parameters:
target
- target componentid
- Document ideditMode
- set to true to set the viewer to edit modeisWithCtrl
- Is with ctrlresultSetView
- 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
-
getView
public ResultSetViewImpl getView()
- Returns:
- the view
-
-