nl.coderight.jazz.form.control
Class ChartControl

java.lang.Object
  extended by nl.coderight.jazz.form.FormField<V>
      extended by nl.coderight.jazz.form.FormControl<List<Point2D>>
          extended by nl.coderight.jazz.form.control.ChartControl

public class ChartControl
extends FormControl<List<Point2D>>


Nested Class Summary
static class ChartControl.ChartType
           
 
Field Summary
 
Fields inherited from class nl.coderight.jazz.form.FormField
Config
 
Constructor Summary
ChartControl(String bindID)
           
 
Method Summary
 Image getImage(int width, int height)
           
 boolean isZoomEnabled()
           
 void setAvgColor(Color color)
           
 void setAxisColor(Color color)
           
 void setChartColor(Color color)
           
 void setChartType(ChartControl.ChartType chartType)
           
 void setDescription(String description, Color color)
           
 void setGridColor(Color color)
           
 void setMaxColor(Color color)
           
 void setMinColor(Color color)
           
 void setValue(List<Point2D> data)
          Sets field value.
 void setXFormat(Format format)
           
 void setXInterval(double xInterval)
           
 void setYFormat(Format format)
           
 void setYInterval(double yInterval)
           
 void setZoomColor(Color color)
           
 void setZoomEnabled(boolean enabled)
           
 void showAvg(boolean show)
           
 void showAxis(boolean show)
           
 void showGrid(boolean show)
           
 void showHorizontalLines(boolean show)
           
 void showMax(boolean show)
           
 void showMin(boolean show)
           
 void showValue(boolean show)
           
 void showVerticalLines(boolean show)
           
 
Methods inherited from class nl.coderight.jazz.form.FormControl
addField, addField, focus, focusField, focusNextField, focusPreviousField, getBindID, getFields, getFocusComponent, hasFocus, registerKeyboardAction, setComponent, setEnabled, setLayout, setTitle
 
Methods inherited from class nl.coderight.jazz.form.FormField
dispatchEvent, dispose, focusNextField, focusPreviousField, getBackground, getBorder, getComponent, getCursor, getDataBinding, getForeground, getForm, getLabel, getParent, getPreferredSize, getToolTip, getValue, isBindable, isChanged, isEnabled, isFocusable, isOpaque, isReadonly, isShowing, isValueChanged, isVisible, onChange, onClick, onDoubleClick, onFocusGained, onFocusLost, onMouseEnter, onMouseLeave, onPopup, setBackground, setBindID, setBorder, setChanged, setComponent, setCursor, setDataBinding, setFocusable, setForeground, setOnFocusGainedEvent, setOnFocusLostEvent, setOpaque, setPopupMenu, setPreferredSize, setReadonly, setToolTip, setVisible, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartControl

public ChartControl(String bindID)
Method Detail

getImage

public Image getImage(int width,
                      int height)

showMin

public void showMin(boolean show)

setMinColor

public void setMinColor(Color color)

showAvg

public void showAvg(boolean show)

setAvgColor

public void setAvgColor(Color color)

showMax

public void showMax(boolean show)

setMaxColor

public void setMaxColor(Color color)

setChartColor

public void setChartColor(Color color)

setChartType

public void setChartType(ChartControl.ChartType chartType)

showAxis

public void showAxis(boolean show)

setAxisColor

public void setAxisColor(Color color)

setGridColor

public void setGridColor(Color color)

showGrid

public void showGrid(boolean show)

showHorizontalLines

public void showHorizontalLines(boolean show)

showVerticalLines

public void showVerticalLines(boolean show)

setDescription

public void setDescription(String description,
                           Color color)

setXInterval

public void setXInterval(double xInterval)

setYInterval

public void setYInterval(double yInterval)

setXFormat

public void setXFormat(Format format)

setYFormat

public void setYFormat(Format format)

isZoomEnabled

public boolean isZoomEnabled()

setZoomEnabled

public void setZoomEnabled(boolean enabled)

setZoomColor

public void setZoomColor(Color color)

showValue

public void showValue(boolean show)

setValue

public void setValue(List<Point2D> data)
Description copied from class: FormField
Sets field value.

Overrides:
setValue in class FormField<List<Point2D>>


Copyright 2010 CodeRight, All rights reserved.