public abstract class AbstractState extends Object implements State
Constructor and Description |
---|
AbstractState() |
Modifier and Type | Method and Description |
---|---|
void |
applyBorder() |
void |
applyCursor() |
void |
configureCustomizer() |
void |
focusGained(FocusEvent e)
Invoked when a component gains the keyboard focus.
|
void |
focusLost(FocusEvent e)
Invoked when a component loses the keyboard focus.
|
boolean |
isActive()
Getter for property active.
|
void |
mouseClicked(MouseEvent e) |
void |
mouseDragged(MouseEvent e)
Invoked when a mouse button is pressed on a component and then dragged.
|
void |
mouseEntered(MouseEvent e)
Invoked when the mouse enters a component.
|
void |
mouseExited(MouseEvent e)
Invoked when the mouse exits a component.
|
void |
mouseMoved(MouseEvent e)
Invoked when the mouse button has been moved on a component (with no buttons down).
|
void |
mousePressed(MouseEvent e)
Invoked when a mouse button has been pressed on a component.
|
void |
mouseReleased(MouseEvent e)
Invoked when a mouse button has been released on a component.
|
void |
resetBorder(Color borderColor) |
void |
setActive(boolean active)
Setter for property active.
|
void |
unconfigureCustomizer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCustomizer
public void mouseDragged(MouseEvent e)
MOUSE_DRAGGED
events will continue to be delivered to the component where the drag originated until
the mouse button is released (regardless of whether the mouse position is within the bounds of the component).
Due to platform-dependent Drag&Drop implementations,
MOUSE_DRAGGED
events may not be delivered during a native Drag&Drop operation.
mouseDragged
in interface State
public void mouseEntered(MouseEvent e)
mouseEntered
in interface State
public void mouseExited(MouseEvent e)
mouseExited
in interface State
public void mouseMoved(MouseEvent e)
mouseMoved
in interface State
public void mousePressed(MouseEvent e)
mousePressed
in interface State
public void mouseReleased(MouseEvent e)
mouseReleased
in interface State
public void focusGained(FocusEvent e)
focusGained
in interface State
public void focusLost(FocusEvent e)
public void mouseClicked(MouseEvent e)
mouseClicked
in interface State
public void configureCustomizer()
configureCustomizer
in interface State
public void applyBorder()
applyBorder
in interface State
public void applyCursor()
applyCursor
in interface State
public void unconfigureCustomizer()
unconfigureCustomizer
in interface State
public void resetBorder(Color borderColor)
resetBorder
in interface State
public boolean isActive()
Copyright © 2012-2013 SoftSmithy. All Rights Reserved.