public class SelectDragMode extends Mode
Constructor and Description |
---|
SelectDragMode(ModeManager modeManager)
Constructs a select-drag mode with specified manager.
|
Modifier and Type | Method and Description |
---|---|
protected void |
setActive(java.awt.Component component,
boolean active)
Activates or deactivates this mode for the specified component.
|
actionPerformed, getCursor, isActive, isExclusive, loadCursor, loadIcon, setAcceleratorKey, setActive, setCursor, setEnabled, setIcon, setLongDescription, setMnemonicKey, setName, setShortDescription
public SelectDragMode(ModeManager modeManager)
modeManager
- the mode manager for this 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.