|
Adempiere 3.4.0s | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.impl.XulElement
org.zkoss.zul.Div
org.adempiere.webui.component.Panel
org.adempiere.webui.component.WConfirmPanel
public class WConfirmPanel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
org.zkoss.zk.ui.HtmlBasedComponent.ExtraCtrl |
| Field Summary | |
|---|---|
static String |
A_CANCEL
Action String Cancel. |
static String |
A_CUSTOMIZE
Action String Customize. |
static String |
A_DELETE
Action String Delete. |
static String |
A_EXPORT
Action String Export. |
static String |
A_HELP
Action String Help. |
static String |
A_HISTORY
Action String History. |
static String |
A_NEW
Action String New. |
static String |
A_OK
Action String OK. |
static String |
A_PATTRIBUTE
Action String PAttribute. |
static String |
A_PRINT
Action String Print. |
static String |
A_PROCESS
Action String Process. |
static String |
A_REFRESH
Action String Refresh. |
static String |
A_RESET
Action String Reset. |
static String |
A_ZOOM
Action String Zoom. |
| Fields inherited from class org.adempiere.webui.component.Panel |
|---|
HORIZONTAL, VERTICAL |
| Fields inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
RS_NO_DISPLAY, RS_NO_HEIGHT, RS_NO_WIDTH |
| Fields inherited from interface org.zkoss.zk.ui.Component |
|---|
APPLICATION_SCOPE, COMPONENT_SCOPE, DESKTOP_SCOPE, PAGE_SCOPE, REQUEST_SCOPE, SESSION_SCOPE, SPACE_SCOPE |
| Constructor Summary | |
|---|---|
WConfirmPanel()
Create Confirmation Panel with OK Button. |
|
WConfirmPanel(boolean withCancelButton)
Create Confirmation Panel with OK and Cancel Button. |
|
WConfirmPanel(boolean withCancelButton,
boolean withRefreshButton,
boolean withResetButton,
boolean withCustomizeButton,
boolean withHistoryButton,
boolean withZoomButton,
boolean withText)
Create Confirmation Panel with different buttons. |
|
| Method Summary | |
|---|---|
void |
addEventListener(org.zkoss.zk.ui.event.EventListener listener)
Add Event Listener. |
static WAppsAction |
createCancelButton(boolean withText)
Create Cancel Button wlth Standard text. |
static WAppsAction |
createCancelButton(String text)
Create Cancel Button wlth label text and register ESC as KeyStroke. |
static WAppsAction |
createCustomizeButton(boolean withText)
Create Customize Button wlth Standard text. |
static WAppsAction |
createCustomizeButton(String text)
Create Customize Button wlth label text. |
static WAppsAction |
createDeleteButton(boolean withText)
Create Delete Button with Standard text. |
static WAppsAction |
createDeleteButton(String text)
Create Delete Button with label text - F3. |
static WAppsAction |
createExportButton(boolean withText)
Create Export Button wlth Standard text. |
static WAppsAction |
createExportButton(String text)
Create Export Button wlth label text. |
static WAppsAction |
createHelpButton(boolean withText)
Create Help Button wlth Standard text. |
static WAppsAction |
createHelpButton(String text)
Create Help Button wlth label text. |
static WAppsAction |
createHistoryButton(boolean withText)
Create History Button wlth Standard text. |
static WAppsAction |
createHistoryButton(String text)
Create History Button wlth label text. |
static WAppsAction |
createNewButton(boolean withText)
Create New Button with Standard text. |
static WAppsAction |
createNewButton(String text)
Create New Button with label text - F2. |
static WAppsAction |
createOKButton(boolean withText)
Create OK Button with Standard text. |
static WAppsAction |
createOKButton(String text)
Create OK Button with label text and F4 Shortcut. |
static WAppsAction |
createPAttributeButton(boolean withText)
Create Product Attribute Button with Standard text. |
static WAppsAction |
createPAttributeButton(String text)
Create Product Attribute Button with label text. |
static WAppsAction |
createPrintButton(boolean withText)
Create Print Button wlth Standard text. |
static WAppsAction |
createPrintButton(String text)
Create Print Button wlth label text. |
static WAppsAction |
createProcessButton(boolean withText)
Create Process Button wlth Standard text. |
static WAppsAction |
createProcessButton(String text)
Create Process Button wlth label text Shift-F4. |
static WAppsAction |
createRefreshButton(boolean withText)
Create Refresh Button wlth Standard text. |
static WAppsAction |
createRefreshButton(String text)
Create Refresh Button wlth label text and F5. |
static WAppsAction |
createResetButton(boolean withText)
Create Reset Button wlth Standard text. |
static WAppsAction |
createResetButton(String text)
Create Reset Button wlth label text. |
static WAppsAction |
createZoomButton(boolean withText)
Create Zoom Button wlth Standard text. |
static WAppsAction |
createZoomButton(String text)
Create Zoom Button wlth label text. |
void |
onEvent(org.zkoss.zk.ui.event.Event event)
|
void |
setCancelVisible(Button button,
boolean value)
Show Cancel button. |
| Methods inherited from class org.zkoss.zul.Div |
|---|
getAlign, getOuterAttrs, setAlign |
| Methods inherited from class org.zkoss.zul.impl.XulElement |
|---|
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setPopup, setTooltip |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
focus, getDraggable, getDroppable, getHeight, getLeft, getRealSclass, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, newExtraCtrl, setClass, setDraggable, setDroppable, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
|---|
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendChild, applyProperties, clone, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getDefinition, getDesktop, getEventHandler, getExtraCtrl, getFellow, getFellowIfAny, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, insertBefore, invalidate, isAsapRequired, isChildable, isListenerAvailable, isVisible, onChildAdded, onChildRemoved, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPage, setPageBefore, setParent, setVariable, setVisible, smartUpdate, smartUpdate, smartUpdate, toString, unsetVariable |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String A_OK
public static final String A_CANCEL
public static final String A_REFRESH
public static final String A_RESET
public static final String A_CUSTOMIZE
public static final String A_HISTORY
public static final String A_ZOOM
public static final String A_PROCESS
public static final String A_PRINT
public static final String A_EXPORT
public static final String A_HELP
public static final String A_DELETE
public static final String A_PATTRIBUTE
public static final String A_NEW
| Constructor Detail |
|---|
public WConfirmPanel()
public WConfirmPanel(boolean withCancelButton)
withCancelButton - with cancel
public WConfirmPanel(boolean withCancelButton,
boolean withRefreshButton,
boolean withResetButton,
boolean withCustomizeButton,
boolean withHistoryButton,
boolean withZoomButton,
boolean withText)
withCancelButton - with cancelwithRefreshButton - with refreshwithResetButton - with resetwithCustomizeButton - with customizewithHistoryButton - with historywithZoomButton - with zoomwithText - with tool tip text| Method Detail |
|---|
public static final WAppsAction createOKButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createOKButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createCancelButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createCancelButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createRefreshButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createRefreshButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createResetButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createResetButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createCustomizeButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createCustomizeButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createHistoryButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createHistoryButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createZoomButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createZoomButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createProcessButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createProcessButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createPrintButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createPrintButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createHelpButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createHelpButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createExportButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createExportButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createDeleteButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createDeleteButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createPAttributeButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createPAttributeButton(String text)
throws IOException
text - text
IOException
public static final WAppsAction createNewButton(boolean withText)
throws IOException
withText - with text
IOException
public static final WAppsAction createNewButton(String text)
throws IOException
text - text
IOException
public void setCancelVisible(Button button,
boolean value)
value - trie for visiblepublic void addEventListener(org.zkoss.zk.ui.event.EventListener listener)
if (e.getActionCommand().equals(ConfirmPanel.A_OK))
In order to respond to keystrokes, the EventListener
should be a Window. If the listener is not a window
the panel will only respond to onClick events.
listener - the event listener
public void onEvent(org.zkoss.zk.ui.event.Event event)
throws Exception
onEvent in interface org.zkoss.zk.ui.event.EventListenerException
|
Adempiere 3.4.0s | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||