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, waitgetCustomizerpublic 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 Statepublic void mouseEntered(MouseEvent e)
mouseEntered in interface Statepublic void mouseExited(MouseEvent e)
mouseExited in interface Statepublic void mouseMoved(MouseEvent e)
mouseMoved in interface Statepublic void mousePressed(MouseEvent e)
mousePressed in interface Statepublic void mouseReleased(MouseEvent e)
mouseReleased in interface Statepublic void focusGained(FocusEvent e)
focusGained in interface Statepublic void focusLost(FocusEvent e)
public void mouseClicked(MouseEvent e)
mouseClicked in interface Statepublic void configureCustomizer()
configureCustomizer in interface Statepublic void applyBorder()
applyBorder in interface Statepublic void applyCursor()
applyCursor in interface Statepublic void unconfigureCustomizer()
unconfigureCustomizer in interface Statepublic void resetBorder(Color borderColor)
resetBorder in interface Statepublic boolean isActive()
Copyright © 2012–2019 SoftSmithy. All rights reserved.