| Overview | Package | Class | Tree | Index | Help | NetCharts Pro (Applets) 7.0 | ||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--java.awt.Panel
|
+--java.applet.Applet
|
+--netcharts.apps.NFColorChartApp
| Inner classes inherited from class java.applet.Applet | |
| java.applet.Applet.AccessibleApplet | |
| Inner classes inherited from class java.awt.Panel | |
| java.awt.Panel.AccessibleAWTPanel | |
| Inner classes inherited from class java.awt.Container | |
| java.awt.Container.AccessibleAWTContainer | |
| Inner classes inherited from class java.awt.Component | |
| java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy | |
| Field Summary | |
| int | numColumns
Number of columns |
| boolean | showFillWhenSelected
Display color on mouse click |
| Method Summary | |
| void | addObserver(NFDwellObserver observer)
Adds the given observer to the list of objects notified when a color cell is selected. |
| void | draw(java.awt.Graphics g,
java.awt.Dimension dim)
Draws each of the set colors in a rectangular cell |
| boolean | dwellDisplay(boolean on,
NFActiveLabel label)
This method is called when a dwell label is about to be displayed or erased. |
| boolean | dwellPress(java.awt.Event evt,
int x,
int y,
NFActiveLabel label)
Called when a color cell has been selected. |
| void | init()
Initialization routine called when NFColorChartApp is run as a standalone applet. |
| void | init(java.awt.Component comp)
This method must be called whenever the ColorChart is embedded within another applet or frame. |
| boolean | mouseDown(java.awt.Event evt,
int x,
int y)
Overrides Component mouseDown() |
| boolean | mouseMove(java.awt.Event evt,
int x,
int y)
Keeps track of mouse movement over the graph. |
| boolean | mouseUp(java.awt.Event evt,
int x,
int y)
Overrides Component mouseUp() |
| void | paint(java.awt.Graphics g)
Paint the Chart. |
| void | setColorTable(java.lang.String s)
Sets the color table that will be used for the colors. |
| void | setLabel(NFLabel label)
Sets the label characteristics used for the popup label |
| void | setRegion(NFRegion region)
Sets the region characteristics used for the popup label |
| void | start()
Overrides Applet start() |
| void | stop()
Overrides Applet stop() |
| Field Detail |
public boolean showFillWhenSelected
public int numColumns
| Method Detail |
public void init()
public void init(java.awt.Component comp)
cmop
- The Component.public void addObserver(NFDwellObserver observer)
observer
- The observer to add.public void setLabel(NFLabel label)
label
- The NFLabel to be used for the ActiveLabels.public void setRegion(NFRegion region)
region
- The region to be used for the ActiveLabels.public void setColorTable(java.lang.String s)
s
- Colors.
public boolean mouseMove(java.awt.Event evt,
int x,
int y)
evt
- The Event.
x
- The X coordinate.
y
- The Y coordinate.public void stop()
public void start()
public boolean dwellDisplay(boolean on,
NFActiveLabel label)
on
- Whether the ActiveLabel is to be drawn or not.
label
- The ActiveLabel to be drawn or not.
public boolean dwellPress(java.awt.Event evt,
int x,
int y,
NFActiveLabel label)
evt
- The Event.
x
- The X coordinate.
y
- The Y coordinate.
label
- The ActiveLabel pressed.public void paint(java.awt.Graphics g)
g
- The Graphics to draw on.
public void draw(java.awt.Graphics g,
java.awt.Dimension dim)
g
- The Graphics to draw on
dim
- The Dimension of the area to draw in.
public boolean mouseDown(java.awt.Event evt,
int x,
int y)
evt
- The Event.
x
- The X coordinate.
y
- The Y coordinate.
public boolean mouseUp(java.awt.Event evt,
int x,
int y)
evt
- The Event.
x
- The X coordinate.
y
- The Y coordinate.| Overview | Package | Class | Tree | Index | Help | |||
| PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||
| Visual Mining, Inc. | Copyright © Visual Mining, Inc. 1996 - 2010 |
Last Modified: Jun 29, 2010 |