net.ontopia.topicmaps.viz
Class VisibleIndicator
java.lang.Object
net.ontopia.topicmaps.viz.VisibleIndicator
public class VisibleIndicator
- extends java.lang.Object
Indicator of whether a menu item has been checked, unchecked or
used default (the default being checked or unchecked).
Method Summary |
protected void |
drawCross(java.awt.Graphics2D g2,
java.awt.Color color,
float xCentre,
float yCentre,
int width)
|
protected void |
drawTick(java.awt.Graphics2D g2,
java.awt.Color color,
float xCentre,
float yCentre,
int width)
|
byte |
getSelected()
|
boolean |
isSelected()
|
void |
paintComponent(java.awt.Graphics g)
Draw a coloured square at the end of the display. |
void |
setDefault(byte state)
|
void |
setSelected(byte state)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CHECKED
public static final byte CHECKED
- See Also:
- Constant Field Values
UNCHECKED
public static final byte UNCHECKED
- See Also:
- Constant Field Values
DEFAULT_CHECKED
public static final byte DEFAULT_CHECKED
- See Also:
- Constant Field Values
DEFAULT_UNCHECKED
public static final byte DEFAULT_UNCHECKED
- See Also:
- Constant Field Values
getSelected
public byte getSelected()
isSelected
public boolean isSelected()
setDefault
public void setDefault(byte state)
setSelected
public void setSelected(byte state)
paintComponent
public void paintComponent(java.awt.Graphics g)
- Draw a coloured square at the end of the display.
drawTick
protected void drawTick(java.awt.Graphics2D g2,
java.awt.Color color,
float xCentre,
float yCentre,
int width)
drawCross
protected void drawCross(java.awt.Graphics2D g2,
java.awt.Color color,
float xCentre,
float yCentre,
int width)
Copyright © 2000-2012 Ontopia.