org.itr_rescue.dataGuard.ui.event
Class ColorChangeEvent

java.lang.Object
  extended by org.itr_rescue.dataGuard.ui.event.BroadcastEvent
      extended by 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
 
Constructor Summary
ColorChangeEvent()
           
ColorChangeEvent(int type)
           
 
Method Summary
 java.awt.Color getColor()
           
 int getColorType()
           
 int getType()
           
 void setColor(java.awt.Color color)
           
 void setColorType(int type)
           
 
Methods inherited from class org.itr_rescue.dataGuard.ui.event.BroadcastEvent
equals, getSource, getUserObject, setSource, setUserObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

ColorChangeEvent

public ColorChangeEvent()

ColorChangeEvent

public ColorChangeEvent(int type)
Method Detail

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.