public interface ICurve
| Modifier and Type | Method and Description |
|---|---|
boolean |
addCurveSegment(CurveSegment curveSegment) |
void |
addCurveSegment(int index,
CurveSegment element) |
CubicBezier |
createCubicBezier()
Creates a new
CubicBezier instance, adds it to this ICurve. |
CurveSegment |
getCurveSegment(int n) |
int |
getCurveSegmentCount() |
ListOf<CurveSegment> |
getListOfCurveSegments() |
boolean |
isSetListOfCurveSegments() |
boolean |
removeCurveSegment(CurveSegment cs) |
void |
setListOfCurveSegments(ListOf<CurveSegment> listOfCurveSegments)
The listOfCurveSegments element contains arbitrary number of curve segments that
can be either of type
LineSegment or of type CubicBezier. |
boolean |
unsetListOfCurveSegments()
Removes the
#listOfCurveSegments from this
Model and notifies
all registered instances of
TreeNodeChangeListener. |
boolean addCurveSegment(CurveSegment curveSegment)
curveSegment - List.add(Object)void addCurveSegment(int index,
CurveSegment element)
index - element - CubicBezier createCubicBezier()
CubicBezier instance, adds it to this ICurve.
and returns it.CurveSegment getCurveSegment(int n)
n - int getCurveSegmentCount()
ListOf<CurveSegment> getListOfCurveSegments()
boolean isSetListOfCurveSegments()
boolean removeCurveSegment(CurveSegment cs)
cs - void setListOfCurveSegments(ListOf<CurveSegment> listOfCurveSegments)
LineSegment or of type CubicBezier. Here,
both classes are child classes of the abstract type CurveSegment.listOfCurveSegments - boolean unsetListOfCurveSegments()
#listOfCurveSegments from this
Model and notifies
all registered instances of
TreeNodeChangeListener.true if calling this method lead to a change in this
data structure.Copyright © 2009–2016. All rights reserved.