|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
com.jinsight.jetchart.GradientPanel
com.jinsight.jetchart.GenericGraph
com.jinsight.jetchart.GaugeGraph
A gauge chart is used to show the progress of a running process using a
visual indicator plotted against a predefined range of values. JetChart
implements a gauge chart in the form of a circular scale, using a needle
to indicate the current state of a process.
| Nested Class Summary |
| Nested classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary |
| Fields inherited from class com.jinsight.jetchart.GenericGraph |
CENTER, TILE, TOP_LEFT |
| Fields inherited from class com.jinsight.jetchart.GradientPanel |
BOTTOM_TO_TOP, LEFT_TO_RIGHT, RIGHT_TO_LEFT, TOP_TO_BOTTOM |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
GaugeGraph()
Creates a GaugeGraph object. |
|
| Method Summary | |
void |
addGaugeZone(GaugeZone gz)
Adds a new GaugeZone object to the chart context. |
void |
addScale(GaugeScale scale)
Adds a new GaugeScale object to the chart context. |
protected void |
finalize()
|
GaugeFrame |
getGaugeFrame()
Returns a reference to the GaugeFrame object. |
GaugeGraphEventListener |
getGaugeGraphEventListener()
Returns a reference to a GaugeGraphEventListener object. |
GaugeZone |
getGaugeZone(int gaugeZoneIndex)
Returns a reference to a GaugeZone object, given the order index in which it was added to the chart context. |
int |
getGaugeZonesCount()
Returns the number of GaugeZone objects added to the chart context. |
GaugeScale |
getScale(int scaleIndex)
Returns a reference to a GaugeScale object, given the order index in which it was added to the chart context. |
int |
getScalesCount()
Returns the number of GaugeScale objects added to the chart context. |
void |
paint(java.awt.Graphics gr)
Overrides the Component class paint() method to provide
gradient effect. |
void |
readXMLData(java.io.Reader reader)
Reads chart properties from an xml character stream. |
void |
removeAllGaugeZones()
Removes all GaugeZone objects added to the chart context. |
void |
removeAllScales()
Removes all GaugeScale objects added to the chart context. |
void |
removeGaugeZone(GaugeZone gz)
Removes a GaugeZone object previously added to the chart context. |
void |
removeScale(GaugeScale scale)
Removes a GaugeScale object previously added to the chart context. |
void |
update(java.awt.Graphics gr)
Overrides the Component class update() method,
to avoid flickering. |
| Methods inherited from class com.jinsight.jetchart.GradientPanel |
setGradientColors, setGradientOrientation |
| Methods inherited from class java.awt.Panel |
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public GaugeGraph()
| Method Detail |
public GaugeFrame getGaugeFrame()
GaugeFramepublic GaugeZone getGaugeZone(int gaugeZoneIndex)
gaugeZoneIndex - An integer number.
GaugeZone,
addGaugeZone(com.jinsight.jetchart.GaugeZone),
removeGaugeZone(com.jinsight.jetchart.GaugeZone),
removeAllGaugeZones()public int getGaugeZonesCount()
GaugeZone,
addGaugeZone(com.jinsight.jetchart.GaugeZone),
removeGaugeZone(com.jinsight.jetchart.GaugeZone),
removeAllGaugeZones()public GaugeScale getScale(int scaleIndex)
scaleIndex - An integer number.
GaugeScale,
GaugeSerie,
addScale(com.jinsight.jetchart.GaugeScale),
removeScale(com.jinsight.jetchart.GaugeScale),
removeAllScales()public int getScalesCount()
GaugeScale,
addScale(com.jinsight.jetchart.GaugeScale),
removeScale(com.jinsight.jetchart.GaugeScale),
removeAllScales()public void addScale(GaugeScale scale)
scale - A GaugeScale object.GaugeScale,
removeScale(com.jinsight.jetchart.GaugeScale),
removeAllScales()public void removeScale(GaugeScale scale)
scale - A GaugeScale object.GaugeScale,
addScale(com.jinsight.jetchart.GaugeScale),
removeAllScales()public void removeAllScales()
GaugeScale,
addScale(com.jinsight.jetchart.GaugeScale),
removeScale(com.jinsight.jetchart.GaugeScale)public void addGaugeZone(GaugeZone gz)
gz - A GaugeZone object.GaugeZone,
removeGaugeZone(com.jinsight.jetchart.GaugeZone),
removeAllGaugeZones()public void removeGaugeZone(GaugeZone gz)
gz - A GaugeZone object.GaugeZone,
addGaugeZone(com.jinsight.jetchart.GaugeZone),
removeAllGaugeZones()public void removeAllGaugeZones()
GaugeZone,
addGaugeZone(com.jinsight.jetchart.GaugeZone),
removeGaugeZone(com.jinsight.jetchart.GaugeZone)public GaugeGraphEventListener getGaugeGraphEventListener()
GaugeGraphEventListener
public void readXMLData(java.io.Reader reader)
throws java.io.IOException
GenericGraph
readXMLData in class GenericGraphreader - The reader from which to retrieve the XML data.
java.io.IOException - If an error occured while reading the input.AbstractSerie.getId()public void update(java.awt.Graphics gr)
update() method,
to avoid flickering.
gr - A Graphics object, where painting is done. This
object is automatically created by the AWT classes and passed
to the update() method, which in turn sends it
to the paint() method.paint(java.awt.Graphics)public void paint(java.awt.Graphics gr)
GradientPanelpaint() method to provide
gradient effect.
paint in class GradientPanelgr - A Graphics object.
protected void finalize()
throws java.lang.Throwable
finalize in class GenericGraphjava.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||