Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jpicedt.graphic.model
Class PicPut  view PicPut download PicPut.java

java.lang.Object
  extended byjpicedt.graphic.model.AbstractElement
      extended byjpicedt.graphic.model.TextEditable
          extended byjpicedt.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

Nested Class Summary
(package private)  class PicPut.Customizer
          geometry customizer
 
Nested classes inherited from class jpicedt.graphic.model.AbstractElement
AbstractElement.DefaultPointIterator
 
Nested classes inherited from class jpicedt.graphic.model.Element
Element.PointIterator
 
Field Summary
 
Fields inherited from class jpicedt.graphic.model.TextEditable
FIRST_PT, LAST_PT, P_ANCHOR, textString
 
Fields inherited from class jpicedt.graphic.model.AbstractElement
attributeSet, parent, ptsX, ptsY, view
 
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
 
Constructor Summary
PicPut(jpicedt.graphic.PicPoint ptA, PicAttributeSet set)
          Constructor filling the parameters with their default value : empty command string,
PicPut(jpicedt.graphic.PicPoint ptA, java.lang.String command, PicAttributeSet set)
          Constructor with the whole set of parameters as arguments
PicPut(PicPut putObj)
          "cloning" constructor (to be used by clone())
 
Method Summary
 java.lang.Object clone()
          Overload Object.clone() method
 jpicedt.graphic.toolkit.AbstractCustomizer createCustomizer()
           
 java.lang.String getName()
          Returns a non-localised string representing this object's name This default implementation returns the class name.
 java.lang.String toString()
          Returns a String representation of the attribute set for this AbstractElement
 
Methods inherited from class jpicedt.graphic.model.TextEditable
getBoundingBox, getText, setText
 
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
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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