java.lang.Object
jpicedt.graphic.model.AbstractElement
jpicedt.graphic.model.TextEditable
jpicedt.graphic.model.PicPut
- All Implemented Interfaces:
- jpicedt.graphic.toolkit.CustomizerFactory, Element, PicObjectConstants
- public class PicPut
- extends TextEditable
- implements jpicedt.graphic.toolkit.CustomizerFactory
This object allow the user to insert any \\put(x,y){...} command anywhere in the drawing
This is especially useful for people willing to use their own macro or packages.
A PicPut object is made of an anchor point an a command string.
- Since:
- PicEdt 1.2.a
Fields inherited from interface jpicedt.graphic.model.PicObjectConstants |
CROSSHATCH, CROSSHATCH_FILLED, DASH_OPAQUE, DASH_TRANSPARENT, DASH1, DASH2, DASH3, DASHED, DIMEN, DOT_SEP, DOT_SEP1, DOT_SEP2, DOT_SEP3, DOTTED, DOUBLE_COLOR, DOUBLE_LINE, DOUBLE_SEP, FILL_COLOR, FILL_STYLE, HATCH_ANGLE, HATCH_COLOR, HATCH_SEP, HATCH_WIDTH, HLINES, HLINES_FILLED, INNER, LEFT_ARROW, LINE_COLOR, LINE_STYLE, LINE_WIDTH, MaxAttributeNameIndex, MIDDLE, NONE, OUTER, POLYGON_DOTS, POLYGON_SOLID, POLYGON_STYLE, PS_POINT, RIGHT_ARROW, SHADOW, SHADOW_ANGLE, SHADOW_COLOR, SHADOW_SIZE, SOLID, VLINES, VLINES_FILLED |
Methods inherited from class jpicedt.graphic.model.AbstractElement |
anchorPointsIterator, fireChangedUpdate, getAttribute, getAttributeSet, getBoundingBox, getDrawing, getFirstPointIndex, getLastPointIndex, getParent, getPoint, getPointX, getPointY, getView, removeView, scale, scale, setAttribute, setAttributeSet, setParent, setPoint, setViewFromFactory, translate |
PicPut
public PicPut(jpicedt.graphic.PicPoint ptA,
java.lang.String command,
PicAttributeSet set)
- Constructor with the whole set of parameters as arguments
- Since:
- PicEdt 1.2.a
PicPut
public PicPut(jpicedt.graphic.PicPoint ptA,
PicAttributeSet set)
- Constructor filling the parameters with their default value : empty command string,
- Since:
- PicEdt 1.2.a
PicPut
public PicPut(PicPut putObj)
- "cloning" constructor (to be used by clone())
- Since:
- PicEdt 1.2.a
clone
public java.lang.Object clone()
- Overload Object.clone() method
- Specified by:
clone
in interface Element
- Specified by:
clone
in class AbstractElement
- Since:
- PicEdt 1.2.a
getName
public java.lang.String getName()
- Description copied from class:
AbstractElement
- Returns a non-localised string representing this object's name
This default implementation returns the class name.
- Specified by:
getName
in interface Element
- Overrides:
getName
in class AbstractElement
toString
public java.lang.String toString()
- Description copied from class:
AbstractElement
- Returns a String representation of the attribute set for this AbstractElement
- Overrides:
toString
in class AbstractElement
createCustomizer
public jpicedt.graphic.toolkit.AbstractCustomizer createCustomizer()
- Specified by:
createCustomizer
in interface jpicedt.graphic.toolkit.CustomizerFactory