plugins.big.bigsnakeutils.icy.gui.curve
Class CurveEditor
java.lang.Object
plugins.adufour.vars.gui.VarEditor<Curve>
plugins.big.bigsnakeutils.icy.gui.curve.CurveEditor
- All Implemented Interfaces:
- plugins.adufour.vars.util.VarListener<Curve>
public class CurveEditor
- extends plugins.adufour.vars.gui.VarEditor<Curve>
VarEditor for Curve objects. Curves are defined by control points. The user
can add a control point by left clicking, remove a control point by right
clicking and drag a selected point to edit the curve. It's not possible to
delete the first and the last point
- Version:
- May 3, 2014
- Author:
- Julien Jacquemot
Methods inherited from class plugins.adufour.vars.gui.VarEditor |
getComponentHorizontalResizeFactor, getComponentVerticalResizeFactor, getVariable, isComponentFocusable, isComponentResizeable, isNameVisible, referenceChanged, setComponentFocusable, setComponentResizeable, setEnabled, setNameVisible, valueChanged |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurveEditor
public CurveEditor(VarCurve variable)
- Default constructor.
getEditorComponent
public javax.swing.JComponent getEditorComponent()
- Overrides:
getEditorComponent
in class plugins.adufour.vars.gui.VarEditor<Curve>
getPreferredSize
public java.awt.Dimension getPreferredSize()
- Specified by:
getPreferredSize
in class plugins.adufour.vars.gui.VarEditor<Curve>
setComponentToolTipText
public void setComponentToolTipText(java.lang.String s)
- Specified by:
setComponentToolTipText
in class plugins.adufour.vars.gui.VarEditor<Curve>
dispose
public void dispose()
- Overrides:
dispose
in class plugins.adufour.vars.gui.VarEditor<Curve>
isComponentEnabled
public boolean isComponentEnabled()
- Overrides:
isComponentEnabled
in class plugins.adufour.vars.gui.VarEditor<Curve>
isComponentOpaque
public boolean isComponentOpaque()
- Overrides:
isComponentOpaque
in class plugins.adufour.vars.gui.VarEditor<Curve>