Package snap.styler
Class EffectTool
java.lang.Object
snap.props.PropObject
snap.view.ViewOwner
snap.styler.StylerOwner
snap.styler.EffectTool
- All Implemented Interfaces:
PropChange.DoChange
Provides a tool for editing Snap Effects.
-
Field Summary
Fields inherited from class snap.view.ViewOwner
Action, DragDrop, DragEnter, DragEvents, DragExit, DragGesture, DragOver, KeyEvents, KeyPress, KeyRelease, KeyType, MouseDrag, MouseEnter, MouseEvents, MouseExit, MouseMove, MousePress, MouseRelease, Showing_Prop, WinClose
Fields inherited from class snap.props.PropObject
_pcs, EMPTY_OBJECT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current styler effect.getEffect
(int anIndex) Returns an individual effect at given index.int
Returns the number of known effects.Returns the specific tool for a given shape.protected void
initUI()
Initialize UI panel.void
resetUI()
Reset UI controls from current selection.void
Updates styler from UI controls.void
Sets the current styler effect.Methods inherited from class snap.styler.StylerOwner
getStyler, setStyler
Methods inherited from class snap.view.ViewOwner
addKeyActionFilter, addKeyActionHandler, beep, cancelReset, createUI, createUIForClass, disableEvents, dispatchEventToOwner, enableEvents, fireActionEventForObject, getEnv, getFirstFocus, getImage, getNative, getToggleGroup, getUI, getUI, getUISource, getView, getView, getViewBoolValue, getViewFloatValue, getViewIntValue, getViewItems, getViewSelIndex, getViewSelItem, getViewStringValue, getViewText, getViewValue, getWindow, initShowing, invokeResetUI, invokeRespondUI, isEventThread, isSendEventDisabled, isShowing, isUISet, isViewDisabled, isViewEnabled, isViewVisible, isWindowSet, isWindowVisible, requestFocus, resetLater, runLater, runLaterDelayed, runLaterOnce, setFirstFocus, setSendEventDisabled, setShowing, setViewDisabled, setViewEnabled, setViewItems, setViewItems, setViewSelIndex, setViewSelItem, setViewText, setViewValue, setViewVisible, setWindowVisible
Methods inherited from class snap.props.PropObject
addDeepChangeListener, addPropChangeListener, addPropChangeListener, clone, firePropChange, firePropChange, firePropChange, getPropDefault, getPropForName, getPropParent, getPropSet, getPropsForArchival, getPropsForArchivalExtra, getPropValue, initProps, isPropDefault, processPropChange, removeDeepChangeListener, removePropChangeListener, removePropChangeListener, setPropValue, toString, toStringProps
-
Constructor Details
-
EffectTool
public EffectTool()Creates EffectTool.
-
-
Method Details
-
getEffectCount
public int getEffectCount()Returns the number of known effects. -
getEffect
Returns an individual effect at given index. -
getEffect
Returns the current styler effect. -
setEffect
Sets the current styler effect. -
initUI
protected void initUI()Initialize UI panel. -
resetUI
public void resetUI()Reset UI controls from current selection. -
respondUI
Updates styler from UI controls. -
getTool
Returns the specific tool for a given shape.
-