Adempiere 3.5.2a

org.adempiere.webui.apps.graph
Class WBarGraph

java.lang.Object
  extended by org.zkoss.zk.ui.AbstractComponent
      extended by org.zkoss.zk.ui.HtmlBasedComponent
          extended by org.zkoss.zul.impl.XulElement
              extended by org.zkoss.zul.Div
                  extended by org.adempiere.webui.component.Panel
                      extended by org.adempiere.webui.apps.graph.WBarGraph
All Implemented Interfaces:
Serializable, Cloneable, Component, ComponentCtrl

public class WBarGraph
extends Panel

Bar Graph

Version:
$Id: BarGraph.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $
Author:
Jorg Janke
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.zkoss.zk.ui.HtmlBasedComponent
HtmlBasedComponent.ExtraCtrl
 
Field Summary
 
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
WBarGraph()
          Constructor
WBarGraph(MGoal goal)
          Constructor
 
Method Summary
 void add(BarGraphColumn column)
          Add Column
 void chartMouseClicked(int index)
          Paint Component
 void chartMouseMoved(org.jfree.chart.ChartMouseEvent event)
           
 BarGraphColumn[] getBarGraphColumnList()
           
 Point getPoint0_0()
          Get Point 0_0
 String getX_AxisLabel()
           
 String getY_AxisLabel()
           
 String getY_TargetLabel()
           
 void setX_AxisLabel(String axisLabel)
           
 void setY_AxisLabel(String axisLabel)
           
 void setY_TargetLabel(String targetLabel, double target)
           
 
Methods inherited from class org.zkoss.zul.Div
getAlign, getOuterAttrs, setAlign
 
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 org.zkoss.zk.ui.AbstractComponent
addAnnotation, addAnnotation, addEventHandler, addEventListener, addForward, addForward, addForward, addForward, addMoved, addSharedAnnotationMap, addSharedEventHandlerMap, appendAsapAttr, appendAsapAttr, appendChild, applyProperties, clone, 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, insertBefore, invalidate, isAsapRequired, isChildable, isInvalidated, 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, smartUpdateDeferred, smartUpdateValues, toString, unsetVariable
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WBarGraph

public WBarGraph()
Constructor


WBarGraph

public WBarGraph(MGoal goal)
Constructor

Parameters:
goal - goal
Method Detail

getPoint0_0

public Point getPoint0_0()
Get Point 0_0

Returns:
point

getX_AxisLabel

public String getX_AxisLabel()
Returns:
Returns the x_AxisLabel.

setX_AxisLabel

public void setX_AxisLabel(String axisLabel)
Parameters:
axisLabel - The x_AxisLabel to set.

getY_AxisLabel

public String getY_AxisLabel()
Returns:
Returns the y_AxisLabel.

setY_AxisLabel

public void setY_AxisLabel(String axisLabel)
Parameters:
axisLabel - The y_AxisLabel to set.

getY_TargetLabel

public String getY_TargetLabel()
Returns:
Returns the y_TargetLabel.

setY_TargetLabel

public void setY_TargetLabel(String targetLabel,
                             double target)
Parameters:
targetLabel - The y_TargetLabel to set.

add

public void add(BarGraphColumn column)
Add Column

Parameters:
column - column

chartMouseClicked

public void chartMouseClicked(int index)
Paint Component

Parameters:
g - graphics

chartMouseMoved

public void chartMouseMoved(org.jfree.chart.ChartMouseEvent event)

getBarGraphColumnList

public BarGraphColumn[] getBarGraphColumnList()

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.