public class VisibleIndicator extends Object
Modifier and Type | Field and Description |
---|---|
static byte |
CHECKED |
static byte |
DEFAULT_CHECKED |
static byte |
DEFAULT_UNCHECKED |
static byte |
UNCHECKED |
Modifier and Type | Method and Description |
---|---|
protected void |
drawCross(Graphics2D g2,
Color color,
float xCentre,
float yCentre,
int width) |
protected void |
drawTick(Graphics2D g2,
Color color,
float xCentre,
float yCentre,
int width) |
byte |
getSelected() |
boolean |
isSelected() |
void |
paintComponent(Graphics g)
Draw a coloured square at the end of the display.
|
void |
setDefault(byte state) |
void |
setSelected(byte state) |
public static final byte CHECKED
public static final byte UNCHECKED
public static final byte DEFAULT_CHECKED
public static final byte DEFAULT_UNCHECKED
public byte getSelected()
public boolean isSelected()
public void setDefault(byte state)
public void setSelected(byte state)
public void paintComponent(Graphics g)
protected void drawTick(Graphics2D g2, Color color, float xCentre, float yCentre, int width)
protected void drawCross(Graphics2D g2, Color color, float xCentre, float yCentre, int width)