|
||||||||||
| 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.RadarGraph
A radar graph is used to simultaneously display many variables associated
with different conditions being analysed. A radial axis starting at the
center of a circular area is shown for each variable displayed, and for
each condition under analysis points are plotted against scales placed
along all radial axis.
fompare the conditions
depicted by the radar graph.
A sequence of data points displayed in a radar graph is a radar series,
which is represented by the class RadarSerie. This abstract class is
extended to provide the functionalities of more specialized series.
RadarSerie,
Serialized Form| 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 | |
RadarGraph()
Creates a RadarGraph object. |
|
| Method Summary | |
void |
addScale(RadarScale scale)
Adds a RadarScale object to the chart context. |
protected void |
finalize()
|
RadarGrid |
getGrid()
Returns a reference to the RadarGrid object. |
RadarGraphEventListener |
getRadarGraphEventListener()
Returns a reference to a RadarGraphEventListener object. |
RadarScale |
getScale(int scaleIndex)
Gets a reference to a RadarScale object previously added to the chart context. |
int |
getScalesCount()
Returns the number of RadarScale 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 |
removeAllScales()
Removes all RadarScale objects previously added to the chart context. |
void |
removeScale(RadarScale scale)
Removes a RadarScale object previously added to the chart context. |
void |
setAngleOffset(int angleOffset)
Sets the angle offset in degrees to rotate radar chart counterclockwise. |
void |
setAxisColor(java.awt.Color axisColor)
Sets the color of all radial axis. |
void |
setAxisColors(java.awt.Color[] axisColors)
Sets the colors to be individually assigned to each radial axis. |
void |
setAxisTitles(java.lang.String[] axisTitles)
Sets the titles to be individually assigned to each scale axis. |
void |
setAxisTitlesBackground(java.awt.Color axisTitlesBackground)
Sets the background color of opaque axis titles. |
void |
setAxisTitlesFont(java.awt.Font axisTitlesFont)
Sets the font of the axis titles. |
void |
setAxisTitlesForeground(java.awt.Color axisTitlesForeground)
Sets the color of the axis titles. |
void |
setAxisTitlesGap(int axisTitlesGap)
Sets the gap between the axis titles and the scale axis. |
void |
setAxisTitlesOpacityEnabled(boolean isAxisTitlesOpacityEnabled)
Enables/disables the opacity of axis titles' backgrounds. |
void |
setBorderColor(java.awt.Color borderColor)
Sets the border color of the radar chart. |
void |
setBorderEnabled(boolean isBorderEnabled)
Enables/disables the border around the radar chart area. |
void |
setCenterGap(int centerGap)
Sets the gap in pixels between the radar center and the start point of each scale axis. |
void |
setCenterGapColor(java.awt.Color centerGapColor)
Sets a color to paint the center gap. |
void |
setFillingColor(java.awt.Color fillingColor)
Sets the filling color of the radar chart. |
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 RadarGraph()
| Method Detail |
public void addScale(RadarScale scale)
scale - A RadarScale object.RadarScale,
removeScale(com.jinsight.jetchart.RadarScale),
removeAllScales(),
getScale(int)public void removeScale(RadarScale scale)
scale - A RadarScale object.RadarScale,
addScale(com.jinsight.jetchart.RadarScale),
removeAllScales(),
getScale(int)public void removeAllScales()
RadarScale,
addScale(com.jinsight.jetchart.RadarScale),
removeScale(com.jinsight.jetchart.RadarScale),
getScale(int)public RadarScale getScale(int scaleIndex)
scaleIndex - An integer number.
RadarScale,
addScale(com.jinsight.jetchart.RadarScale),
removeScale(com.jinsight.jetchart.RadarScale),
removeAllScales()public int getScalesCount()
RadarScale,
addScale(com.jinsight.jetchart.RadarScale),
removeScale(com.jinsight.jetchart.RadarScale),
removeAllScales(),
getScale(int)public void setAxisColor(java.awt.Color axisColor)
axisColor - A Color object.setAxisColors(java.awt.Color[])public void setAxisColors(java.awt.Color[] axisColors)
axisColors - An array of Color objects.setAxisColor(java.awt.Color)public void setFillingColor(java.awt.Color fillingColor)
fillingColor - A Color object.public void setBorderColor(java.awt.Color borderColor)
setBorderColor in class GenericGraphborderColor - A Color object.setBorderEnabled(boolean)public void setBorderEnabled(boolean isBorderEnabled)
setBorderEnabled in class GenericGraphisBorderEnabled - A boolean value(true/false).setBorderColor(java.awt.Color)public void setAxisTitles(java.lang.String[] axisTitles)
axisTitles - An array of String objects.setAxisTitlesForeground(java.awt.Color),
setAxisTitlesBackground(java.awt.Color),
setAxisTitlesOpacityEnabled(boolean),
setAxisTitlesGap(int),
setAxisTitlesFont(java.awt.Font)public void setAxisTitlesForeground(java.awt.Color axisTitlesForeground)
axisTitlesForeground - A Color objectsetAxisTitles(java.lang.String[]),
setAxisTitlesBackground(java.awt.Color),
setAxisTitlesOpacityEnabled(boolean),
setAxisTitlesGap(int),
setAxisTitlesFont(java.awt.Font)public void setAxisTitlesBackground(java.awt.Color axisTitlesBackground)
axisTitlesBackground - A Color objectsetAxisTitlesForeground(java.awt.Color),
setAxisTitles(java.lang.String[]),
setAxisTitlesOpacityEnabled(boolean),
setAxisTitlesGap(int),
setAxisTitlesFont(java.awt.Font)public void setAxisTitlesOpacityEnabled(boolean isAxisTitlesOpacityEnabled)
isAxisTitlesOpacityEnabled - A boolean value(true/false)setAxisTitles(java.lang.String[]),
setAxisTitlesForeground(java.awt.Color),
setAxisTitlesBackground(java.awt.Color),
setAxisTitlesGap(int),
setAxisTitlesFont(java.awt.Font)public void setAxisTitlesGap(int axisTitlesGap)
axisTitlesGap - An integer number.setAxisTitles(java.lang.String[]),
setAxisTitlesOpacityEnabled(boolean),
setAxisTitlesForeground(java.awt.Color),
setAxisTitlesBackground(java.awt.Color),
setAxisTitlesFont(java.awt.Font)public void setAxisTitlesFont(java.awt.Font axisTitlesFont)
axisTitlesFont - A Font object.setAxisTitles(java.lang.String[]),
setAxisTitlesGap(int),
setAxisTitlesOpacityEnabled(boolean),
setAxisTitlesForeground(java.awt.Color),
setAxisTitlesBackground(java.awt.Color),
setAxisTitlesFont(java.awt.Font)public void setAngleOffset(int angleOffset)
angleOffset - An integer valuepublic void setCenterGap(int centerGap)
centerGap - public void setCenterGapColor(java.awt.Color centerGapColor)
centerGapColor - A Color object.setCenterGap(int)public RadarGrid getGrid()
RadarGridpublic RadarGraphEventListener getRadarGraphEventListener()
RadarGraphEventListener
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 | |||||||||