|
Adempiere 3.5.2a | |||||||||
| 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.Box
org.zkoss.zul.Hbox
org.adempiere.webui.component.ConfirmPanel
public final class ConfirmPanel
Application Confirm Panel Web UI port of the rich client's ConfirmPanel by Jorg Janke
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
HtmlBasedComponent.ExtraCtrl |
| Field Summary |
|---|
| 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 | |
|---|---|
ConfirmPanel()
Create confirm panel with Ok button only |
|
ConfirmPanel(boolean withCancel)
Create confirm panel with Ok and Cancel button |
|
ConfirmPanel(boolean withCancelButton,
boolean withRefreshButton,
boolean withResetButton,
boolean withCustomizeButton,
boolean withHistoryButton,
boolean withZoomButton)
create confirm panel with multiple options |
|
| Method Summary | |
|---|---|
void |
addActionListener(String event,
EventListener listener)
add action listener on the existing buttons |
void |
addComponentsLeft(Button button)
add button to the left side of the confirm panel |
void |
addComponentsRight(Button button)
add button to the right side of the confirm panel |
Button |
createButton(String name)
Creates a button of the specified id |
Button |
getButton(String id)
return button of the specified id |
boolean |
isVisible(String btnName)
returns whether the specified button is visible or not |
void |
setEnabled(String id,
boolean enabled)
enable specific button |
void |
setEnabledAll(boolean enabled)
enable all components |
void |
setVisible(String id,
boolean visible)
sets the visibility of the specified button |
| Methods inherited from class org.zkoss.zul.Box |
|---|
getAlign, getCaveAttrs, getChildInnerAttrs, getChildOuterAttrs, getHeights, getOrient, getOuterAttrs, getPack, getSpacing, getValign, getWidths, insertBefore, isHorizontal, isVertical, onChildRemoved, onDrawNewChild, setAlign, setHeights, setOrient, setPack, setSpacing, setValign, setWidths |
| Methods inherited from class org.zkoss.zul.impl.XulElement |
|---|
getAction, getActionAttrs, getAllOnClickAttrs, getContext, getCtrlKeys, getInnerAttrs, getPopup, getTooltip, setAction, setContext, setContext, setCtrlKeys, setPopup, setPopup, setTooltip, setTooltip |
| Methods inherited from class org.zkoss.zk.ui.HtmlBasedComponent |
|---|
focus, getAllOnClickAttrs, getDraggable, getDroppable, getHeight, getLeft, getRealSclass, getRealStyle, getRealStyleFlags, getSclass, getStyle, getTooltiptext, getTop, getWidth, getZIndex, newExtraCtrl, setClass, setDraggable, setDroppable, setFocus, setHeight, setLeft, setSclass, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfirmPanel(boolean withCancelButton,
boolean withRefreshButton,
boolean withResetButton,
boolean withCustomizeButton,
boolean withHistoryButton,
boolean withZoomButton)
withCancelButton - with cancelwithRefreshButton - with refreshwithResetButton - with resetwithCustomizeButton - with customizewithHistoryButton - with historywithZoomButton - with zoompublic ConfirmPanel()
public ConfirmPanel(boolean withCancel)
withCancel - with cancel| Method Detail |
|---|
public Button createButton(String name)
id - button id
The string can be any of the following and the corresponding button will be created:
public void addComponentsLeft(Button button)
button - buttonpublic void addComponentsRight(Button button)
button - buttonpublic Button getButton(String id)
id - button id
The button id can be any of the following
public void setVisible(String id,
boolean visible)
btnName - button namevisible - visibility
The button name can be any of the following
public boolean isVisible(String btnName)
btnName -
The button name can be any of the following
public void setEnabled(String id,
boolean enabled)
id - button idenabled - enabled
The button id can be any of the following
public void setEnabledAll(boolean enabled)
enabled - enabled
public void addActionListener(String event,
EventListener listener)
event - eventlistener - listener
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||