public class WhiteboardState extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMMAND_MODE |
static String |
FILL_COLOR |
static String |
HIGHLIGHT_MODE |
static String |
MODE |
static String |
PEN_COLOR |
static String |
PEN_WIDTH |
static String |
SKETCH_MODE |
Constructor and Description |
---|
WhiteboardState() |
Modifier and Type | Method and Description |
---|---|
void |
addStateListener(PropertyChangeListener l) |
Color |
getFillColor() |
String |
getMode() |
Color |
getPenColor() |
float |
getPenWidth() |
void |
removeStateListener(PropertyChangeListener l) |
void |
setFillColor(Color c) |
void |
setMode(String m) |
void |
setPenColor(Color c) |
void |
setPenWidth(float w) |
public static final String PEN_COLOR
public static final String FILL_COLOR
public static final String PEN_WIDTH
public static final String MODE
public static final String SKETCH_MODE
public static final String COMMAND_MODE
public static final String HIGHLIGHT_MODE
public void addStateListener(PropertyChangeListener l)
public void removeStateListener(PropertyChangeListener l)
public Color getPenColor()
public Color getFillColor()
public float getPenWidth()
public String getMode()
public void setPenColor(Color c)
public void setFillColor(Color c)
public void setPenWidth(float w)
public void setMode(String m)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.