public class MouseTrackMode extends Mode
Constructor and Description |
---|
MouseTrackMode(ModeManager modeManager)
Constructs a mouse track mode with specified manager.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isExclusive()
Returns false, to indicate that mouse track mode is not exclusive.
|
protected void |
setActive(java.awt.Component component,
boolean active)
Activates or deactivates this mode for the specified component.
|
actionPerformed, getCursor, isActive, loadCursor, loadIcon, setAcceleratorKey, setActive, setCursor, setEnabled, setIcon, setLongDescription, setMnemonicKey, setName, setShortDescription
public MouseTrackMode(ModeManager modeManager)
modeManager
- the mode manager for this mode.public boolean isExclusive()
isExclusive
in class Mode
protected void setActive(java.awt.Component component, boolean active)
Mode
This method should not be called directly. The mode's manager calls this method for all of its components. Implementations of this method should do nothing for components for which the mode is inapplicable.