Package com.saperion.ngc.events
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 Summary
ConstructorsConstructorDescriptionDisplayPopupEvent(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
Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getEvent, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
-
Constructor Details
-
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 Details
-
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
- Returns:
- the view
-