org.adempiere.webui.apps.form
Class WAllocation
java.lang.Object
org.zkoss.zk.ui.AbstractComponent
org.zkoss.zk.ui.HtmlBasedComponent
org.zkoss.zul.impl.XulElement
org.zkoss.zul.Window
org.adempiere.webui.component.Window
org.adempiere.webui.panel.ADForm
org.adempiere.webui.apps.form.WAllocation
- All Implemented Interfaces:
- Serializable, Cloneable, ValueChangeListener, WTableModelListener, Component, EventListener, IdSpace, ComponentCtrl
public class WAllocation
- extends ADForm
- implements EventListener, ValueChangeListener, WTableModelListener
Allocation panel. Panel for selecting sets of invoices and payments to
process. The panel contains a set of paramater components that select and
filter the invoices and payments, a panel for displaying and selecting
invoices, a panel for selecting and displaying payments, and a panel for
allocating payments.
- Author:
- Andrew Kimball
- See Also:
- Serialized Form
| Methods inherited from class org.zkoss.zul.Window |
clone, doEmbedded, doHighlighted, doModal, doOverlapped, doPopup, getBorder, getCaption, getContentSclass, getContentStyle, getDefaultActionOnShow, getMode, getOuterAttrs, getPosition, getRealStyle, getSclass, getTitleSclass, inEmbedded, inHighlighted, inModal, inOverlapped, inPopup, insertBefore, isClosable, isSizable, newExtraCtrl, onChildRemoved, onClose, onModal, setBorder, setClosable, setContentSclass, setContentStyle, setDefaultActionOnShow, setDraggable, setMode, setMode, setPage, setParent, setPosition, setSclass, setSizable, setTitle, setVisible |
| 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, getRealStyleFlags, getStyle, getTooltiptext, getTop, getWidth, getZIndex, setClass, setDroppable, setFocus, setHeight, setLeft, setStyle, setTooltiptext, setTop, setWidth, setZIndex |
| Methods inherited from class org.zkoss.zk.ui.AbstractComponent |
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendAsapAttr, appendChild, applyProperties, containsVariable, detach, equals, getAnnotatedProperties, getAnnotatedPropertiesBy, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAttribute, getAttribute, getAttributes, getAttributes, getChildren, getCommand, getDefinition, getDesktop, getEventHandler, getEventHandlerNames, getExtraCtrl, getFellow, getFellowIfAny, getFellows, getFirstChild, getId, getLastChild, getListenerIterator, getMold, getMoldURI, getNamespace, getNextSibling, getPage, getParent, getPreviousSibling, getPropagatee, getRoot, getSpaceOwner, getUuid, getVariable, invalidate, isAsapRequired, isChildable, isInvalidated, isListenerAvailable, isVisible, onChildAdded, onDrawNewChild, onPageAttached, onPageDetached, onWrongValue, redraw, removeAttribute, removeAttribute, removeChild, removeEventListener, removeForward, removeForward, response, sessionDidActivate, sessionWillPassivate, setAttribute, setAttribute, setComponentDefinition, setId, setMold, setPageBefore, setVariable, smartUpdate, smartUpdate, smartUpdate, smartUpdateDeferred, smartUpdateValues, toString, unsetVariable |
WAllocation
public WAllocation()
- Default constructor.
init
public void init(int adFormId,
String name)
- Initialise the panel.
- Overrides:
init in class ADForm
- Parameters:
adFormId - The Adempiere identifier for the formname - The name of the form
onEvent
public void onEvent(Event event)
throws Exception
- Specified by:
onEvent in interface EventListener- Overrides:
onEvent in class ADForm
- Throws:
Exception
valueChange
public void valueChange(ValueChangeEvent event)
- Specified by:
valueChange in interface ValueChangeListener
tableChanged
public void tableChanged(WTableModelEvent event)
- Description copied from interface:
WTableModelListener
- This fine grain notification tells listeners the exact range
of cells, rows, or columns that changed.
- Specified by:
tableChanged in interface WTableModelListener
- Parameters:
event - table model event
isNegative
public static boolean isNegative(BigDecimal value)
- Query whether the specified value is negative.
- Parameters:
value - the value to test for sign
- Returns:
- true if the value is negative, false otherwise
isPositive
public static boolean isPositive(BigDecimal value)
- Query whether the specified value is positive.
- Parameters:
value - the value to test for sign
- Returns:
- true if the value is positive, false otherwise
isNonZero
public static boolean isNonZero(BigDecimal value)
- Query whether the specified value is non-zero.
- Parameters:
value - the value to test for sign
- Returns:
- true if the value is non-zero, false otherwise
isZero
public static boolean isZero(BigDecimal value)
- Query whether the specified value is zero.
- Parameters:
value - the value to test for sign
- Returns:
- true if the value is zero, false otherwise
Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.