org.itr_rescue.dataGuard.ui.event
Class ColorChangeEvent
java.lang.Object
org.itr_rescue.dataGuard.ui.event.BroadcastEvent
org.itr_rescue.dataGuard.ui.event.ColorChangeEvent
public class ColorChangeEvent
- extends BroadcastEvent
The event that gets fired when the color changes.
- Author:
- sergiu
Field Summary |
static int |
BACKGROUND
The type that means the background was changed |
static int |
FOREGROUND
The type that means the foreground was changed |
static int |
MARKED
The type that means the mark color was changed |
Fields inherited from class org.itr_rescue.dataGuard.ui.event.BroadcastEvent |
CHANGE_BGCOLOR_TYPE, CHANGE_DIR_TYPE, CHANGE_FGCOLOR_TYPE, CHANGE_FILESYSTEM_TYPE, CHANGE_FONT_TYPE, CHANGE_HELP_URL, CHANGE_MKCOLOR_TYPE, CHANGE_PANEL_TYPE, CHANGE_VIEW_TYPE, FILE_LIST_SELECTION_TYPE, UNKNOWN_TYPE |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BACKGROUND
public static final int BACKGROUND
- The type that means the background was changed
- See Also:
- Constant Field Values
FOREGROUND
public static final int FOREGROUND
- The type that means the foreground was changed
- See Also:
- Constant Field Values
MARKED
public static final int MARKED
- The type that means the mark color was changed
- See Also:
- Constant Field Values
ColorChangeEvent
public ColorChangeEvent()
ColorChangeEvent
public ColorChangeEvent(int type)
getType
public int getType()
- Specified by:
getType
in class BroadcastEvent
- Returns:
- Returns the type of the event.
getColorType
public int getColorType()
- Returns:
- Returns the type.
setColorType
public void setColorType(int type)
- Parameters:
type
- The type to set.
getColor
public java.awt.Color getColor()
- Returns:
- Returns the color.
setColor
public void setColor(java.awt.Color color)
- Parameters:
color
- The color to set.