public class GradientTool extends AbstractDesignTool
IDesignTool.ToolbarInitializeractionMap, changeSupport, designable, HANDLES_PROPERTY, inputMap, interactionLayer, panel, workspace| Constructor and Description |
|---|
GradientTool() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRelevantFor(javax.swing.JComponent component) |
ISelectionControl |
newSelectionControl()
Gives the tool a chance to create a new selection control object to install handles on the selection.
|
void |
onClick(java.awt.Point p,
int modifiers)
Called when the user clicks in the design space.
|
addAction, addKeyBinding, addKeyBinding, addPropertyChangeListener, createCursor, findDropContainer, getAction, getCursor, getDragHighlight, getOffsettingBounds, getOriginalBounds, getStatusBarText, getToolbarInitializer, install, isInstalled, itemMovable, movable, newToolbarSpinner, newToolbarSpinner, newToolbarSpinner, onClickAlterSelection, onDoubleClick, onDrag, onDragEnd, onDragStart, onKeyEvent, onMove, onPopupTrigger, onPress, onRelease, onRightClickSwitchToSelectionTool, removePropertyChangeListener, uninstallpublic ISelectionControl newSelectionControl()
IDesignToolnewSelectionControl in interface IDesignToolnewSelectionControl in class AbstractDesignToolpublic boolean isRelevantFor(javax.swing.JComponent component)
isRelevantFor in class AbstractDesignToolpublic void onClick(java.awt.Point p,
int modifiers)
IDesignToolonClick in interface IDesignToolonClick in class AbstractDesignToolp - The point at which they clicked. Relative to the designable container.modifiers - A bitmask of modifiers. Comes from InputEvent.getModifiersEx()