http://www.jpicedt.org

Uses of Interface
jpicedt.graphic.model.Element

Packages that use Element
jpicedt.format.input.latex Parser grammar for the LaTeX picture environment format. 
jpicedt.format.input.pstricks Pstricks grammar tree. 
jpicedt.format.input.util This package contains helper classes for building a parser based on the well-known RegExp scheme, yet with a strong object-oriented approach in mind. 
jpicedt.format.output.eepic Classes (formatter, view factory,...) related to the epic/eepic content-type. 
jpicedt.format.output.latex Classes (formatter, view factory,...) related to the LaTeX (standard) content-type. 
jpicedt.format.output.pstricks Classes (formatter, view factory,...) related to the PsTricks content-type. 
jpicedt.graphic jPicEdt library core classes and packages. 
jpicedt.graphic.event Various events used for the communication between model, view and controler, as well as to notify external receivers of changes in the document structure, appearance,... 
jpicedt.graphic.io.formatter Interfaces and base classes useful to implement a formatter for a given format, for instance Pstricks. 
jpicedt.graphic.model Document structure and graphic primitives. 
jpicedt.graphic.toolkit Controller (document editing through UI actions) 
jpicedt.graphic.view Document appearance. 
 

Uses of Element in jpicedt.format.input.latex
 

Constructors in jpicedt.format.input.latex with parameters of type Element
LaTeXInstanciationExpression(String tag, Element prototype, Pool pl)
           
 

Uses of Element in jpicedt.format.input.pstricks
 

Constructors in jpicedt.format.input.pstricks with parameters of type Element
PSTInstanciationExpression(String tag, Element prototype, Pool pl)
           
 

Uses of Element in jpicedt.format.input.util
 

Fields in jpicedt.format.input.util declared as Element
 Element Pool.currentObj
          Convenience used to share information (e.g.
 

Constructors in jpicedt.format.input.util with parameters of type Element
InstanciationExpression(String tag, Element prototype, PicAttributeSet attributes, Pool pl)
           
 

Uses of Element in jpicedt.format.output.eepic
 

Methods in jpicedt.format.output.eepic with parameters of type Element
 void EepicFormatter.appendThicknessString(StringBuffer buf, Element obj)
          Create a string representation of the thickness command for the given PicObjet in the eepic format, and append it to the given StringBuffer.
 Formatter EepicFormatter.createFormatter(Element e)
           
 View EepicViewFactory.createView(Element element)
           
 

Uses of Element in jpicedt.format.output.latex
 

Methods in jpicedt.format.output.latex with parameters of type Element
 void LatexFormatter.appendThicknessString(StringBuffer buf, Element obj)
          Create a string representation of the thickness command for the given PicObjet in the LaTeX format, and append it to the given StringBuffer.
 Formatter LatexFormatter.createFormatter(Element e)
           
 View LatexViewFactory.createView(Element element)
           
 

Uses of Element in jpicedt.format.output.pstricks
 

Methods in jpicedt.format.output.pstricks with parameters of type Element
 Formatter PstricksFormatter.createFormatter(Element e)
           
 PstricksFormatter.ParameterString PstricksFormatter.createParameterString(Element obj)
          Returns PsTricks's "standard" parameter string for the given Element: linewidth=xxx, linecolor=xxxx, doubleline=true/false and rel.
static StringBuffer PstricksUtilities.createPstricksStringFromArrows(Element obj)
           
 View PstricksViewFactory.createView(Element element)
           
 

Uses of Element in jpicedt.graphic
 

Methods in jpicedt.graphic that return Element
 Element[] AbstractSelectionHandler.asArray()
          Return the selected elements wrapped in an array.
 Element[] SelectionHandler.asArray()
          Return the selected elements wrapped in an array (may be a convenience call to asCollection)
 

Methods in jpicedt.graphic with parameters of type Element
 void AbstractSelectionHandler.addToSelection(Element e)
          Add the given Element to the current selection.
 void SelectionHandler.addToSelection(Element e)
          Add the given Element to the current selection
protected  void PECanvas.fireSelectionUpdate(Element[] elements, SelectionEvent.EventType type)
          Notify all listeners that have registered interest for notification on this event type.
protected  void PECanvas.fireSelectionUpdate(Element element, SelectionEvent.EventType type)
          Notify all listeners that have registered interest for notification on this event type.
 boolean PECanvas.isSelected(Element e)
           
 boolean AbstractSelectionHandler.isSelected(Element e, boolean includeAncestors)
          Return whether the given Element is selected or not.
 boolean SelectionHandler.isSelected(Element e, boolean includeAncestors)
          Return whether the given Element is selected or not
 void AbstractSelectionHandler.replaceSelection(Element e)
          Replace the current selection with the given element.
 void SelectionHandler.replaceSelection(Element e)
          Replace the current selection with the given element.
 void PECanvas.select(Element obj, boolean incremental)
          select the given element
 void AbstractSelectionHandler.unSelect(Element e)
          Unselect the given Element, i.e.
 void PECanvas.unSelect(Element obj)
          unselect the given object
 void SelectionHandler.unSelect(Element e)
          Unselect the given Element, ie remove it from the current selection.
 

Uses of Element in jpicedt.graphic.event
 

Fields in jpicedt.graphic.event declared as Element
protected  Element[] SelectionEvent.elements
          the elements that were (un)selected
 

Methods in jpicedt.graphic.event that return Element
 Element DrawingEvent.getElement()
          Return the graphic element that changed
 Element[] SelectionEvent.getElements()
          Return the graphic elements that got selected/unselected.
 

Constructors in jpicedt.graphic.event with parameters of type Element
SelectionEvent(PECanvas source, Element[] elements, SelectionEvent.EventType type)
          a new SelectionEvent sourced from the given PECanvas Use this constructor when several elements were (un)selected.
SelectionEvent(PECanvas source, Element element, SelectionEvent.EventType type)
          a new SelectionEvent sourced from the given PECanvas.
 

Uses of Element in jpicedt.graphic.io.formatter
 

Methods in jpicedt.graphic.io.formatter with parameters of type Element
 Formatter FormatterFactory.createFormatter(Element e)
           
 Formatter JPICFormatter.createFormatter(Element e)
          Return a Formatter able to format the given Element in the JPIC-XML format
protected  void XmlAttributeSet.putCommonAttributes(Element obj)
          Fills the given map with XML-like entries (name->value will translate into name="value" once text formatted) for common attributes of the given Element, that is, attributes specific to a given subclass of Element are not included here, but should be handled directly by the appropriate formatter.
 

Uses of Element in jpicedt.graphic.model
 

Classes in jpicedt.graphic.model that implement Element
 class AbstractCurve
          A curve made up of a concatenation of cubic bezier curves and straight lines, hereafter globally denoted as "segments".
 class AbstractElement
          An abstract class that can serve as the basis class for elements of a Drawing.
 class BranchElement
          An abstract class for Element's that allow children.
 class DefaultLeafElement
          This is a default implementation of AbstractElement targetting leaf Element's, i.e.
 class Drawing.RootElement
          the Element that is the root of the tree of Element's in this Drawing.
 class PicCircleFrom3Points
          A class implementing either a circle or an arc, whose geometry is specified by a PicEllipse, yet is further controllable by three additional points : this may either be a plain circle going through these three points, or an arc going from P_1 to P_3 through P_2, in which case a pie or a chord may be added as well.
Superclass control-points are still available here, yet geometry is constrained to a circle by invoking e.g.
 class PicEllipse
          Ellipse or arc, based on parallelogram
The geometrical model of this ellipse (or its arc counterpart) is based on a parallelogram, yet is equivalent to an ellipse rotated around its center.
 class PicGroup
          A concrete implementation of BranchElement that is suited for building groups of elements.
 class PicMultiCurve
          PicMultiCurve is basically an AbstractCurve where each subdivision point has additionnal features regarding 2nd-order smoothness and symmetry.
 class PicNodeConnection
          This class represents a connection between two DefaultLeafElement's.
 class PicParallelogram
          A class implementing a parallelogram.
 class PicPsCurve
           A multicurve, either closed or not, going through a set of control points.
 class PicSmoothPolygon
           A multicurve, either close or not, whose geometry is specified using a polygon, in such a way that the curve snakes "smoothly" along the polygon.
 class PicText
          Textual elements, possibly surrounded by a box (currently, only rectangular, oval and circular shapes are supported).
 class TextEditable
          An abstract class for Element's that have a textual representation, and [pending:removed as of 1.3.2] whose text can be graphically edited
 

Fields in jpicedt.graphic.model declared as Element
protected  Element DefaultPointIndexIterator.elem
           
protected  Element AbstractElement.parent
          the parent of this element
 

Methods in jpicedt.graphic.model that return Element
 Element BranchElement.getChildAt(int childIndex)
           
 Element Drawing.DefaultDrawingEvent.getElement()
           
 Element Drawing.getElement(int i)
           
 Element AbstractElement.getParent()
          Gets the parent of the element.
 Element Drawing.RootElement.getParent()
          Gets the parent of the element.
 Element Element.getParent()
          Gets the parent of the element.
 

Methods in jpicedt.graphic.model with parameters of type Element
 void BranchElement.addChild(Element child)
          add the given child to this BranchElement, setting its parent to this.
 void BranchElement.addChild(int position, Element child)
          insert the given child in this BranchElement at the given position, setting its parent to this, and create a view for the child using the ViewFactory that produced the View for this BranchElement.
 void Drawing.addElement(Element element)
          Add the given element to this Drawing
 void BranchElement.bringBackward(Element obj)
          Move the given child one position backward, i.e.
 void BranchElement.bringForward(Element obj)
          Move the given child one position forward, i.e.
 void BranchElement.bringToBack(Element obj)
          Move the given child to back (i.e.
 void BranchElement.bringToFront(Element obj)
          Move the given child to front, i.e.
 boolean BranchElement.contains(Element o)
           
protected  void Drawing.fireChangedUpdate(Element changed, DrawingEvent.EventType type)
          Notify all listeners that have registered interest for notification on this event type.
 void BranchElement.forwardChangedUpdate(Element child, DrawingEvent.EventType eventType)
          Called by a child of this BranchElement to inform its parent of some change that occured to it or one of its children.
 void DefaultLeafElement.forwardChangedUpdate(Element child, DrawingEvent.EventType eventType)
          Called by a child of this element to inform its parent of some change that occured to it or one of its children.
 void Drawing.RootElement.forwardChangedUpdate(Element child, DrawingEvent.EventType eventType)
          Called by a child to inform of some change that occured to it or one of its children.
 void Element.forwardChangedUpdate(Element child, DrawingEvent.EventType eventType)
          Called by a child of this element to inform its parent of some change that occured to it or one of its children.
 void PicNodeConnection.forwardChangedUpdate(Element node, DrawingEvent.EventType eventType)
          Called by a child-node (=a DefaultLeafElement) to inform this connection of some change that occured to one of its nodes.
 int BranchElement.getChildIndex(Element node)
          Returns the index of the given Element in the receivers children.
 boolean BranchElement.isToBack(Element obj)
           
 boolean BranchElement.isToFront(Element obj)
           
 void BranchElement.removeChild(Element child)
          remove the given child from this BranchElement, setting its parent to null so that the given child become (possibly) eligible for garbage collection if there are no other reference to it.
 void Drawing.removeElement(Element element)
          Remove the given graphic object from this Drawing, overriden so as to update selection if this element was selected.
 void BranchElement.replaceChild(int position, Element newChild)
          replace the child at the given position by the given child
 void Drawing.replaceElement(Element src, Element dest)
          Replace the given "src" element with the given "dest" element, if "src" belongs to this drawing.
 void Drawing.replaceElement(int index, Element element)
          Replace the element at the given index with the given graphic element No effet if "element" already belongs to the drawing.
 void AbstractElement.setParent(Element p)
          Sets the parent of this element to be the given element.
 void Drawing.RootElement.setParent(Element p)
          Sets the parent of the element.
 void Element.setParent(Element p)
          Sets the parent of the element.
 

Constructors in jpicedt.graphic.model with parameters of type Element
DefaultPointIndexIterator(Element e)
          create a new PointIndexIterator for the given Element
Drawing.DefaultDrawingEvent(Element element, DrawingEvent.EventType type)
           
 

Uses of Element in jpicedt.graphic.toolkit
 

Classes in jpicedt.graphic.toolkit that implement Element
 class DefaultSelectionHandler
          Stores references to selected Element's.
 

Methods in jpicedt.graphic.toolkit that return Element
 Element[] DefaultSelectionHandler.asArray()
           
protected  Element AbstractMouseTransform.getClone()
          Return the clone of the target element, which was init'd by startTransform
 Element EditPointMouseTransformFactory.SelectedPointsHandler.getElement()
          returns the current target Element
 Element DefaultSelectionHandler.getParent()
          Gets the parent of the element.
protected  Element PEAction.getSelectedObject()
          Returns the selected graphic element in the target board ;
protected  Element AbstractMouseTransform.getTarget()
          Return the element this transform acts upon
 

Methods in jpicedt.graphic.toolkit with parameters of type Element
 void DefaultSelectionHandler.addChild(Element child)
          overriden so that the parent of the added element isn't set to this, and its view is left unchanged.
 void DefaultSelectionHandler.addToSelection(Element e)
          Add the given Element to the current selection
 boolean DefaultSelectionHandler.isSelected(Element e, boolean includeAncestors)
           
protected  boolean EditPointMouseTransformFactory.isValidTarget(Element e)
          Return true is the given element is a valid target for this factory.
 void DefaultSelectionHandler.removeChild(Element child)
          overriden so as to leave child's parent and view unchanged.
 void DefaultSelectionHandler.replaceSelection(Element e)
          Replace the current selection with the given element.
 void EditPointMouseTransformFactory.SelectedPointsHandler.setElement(Element e)
          sets the current Element and clears the list of selected-points
 void DefaultSelectionHandler.unSelect(Element e)
          Unselect the given Element, ie remove it from the current selection.
 

Constructors in jpicedt.graphic.toolkit with parameters of type Element
AbstractMouseTransform(Element target)
           
DrawToolFactory.GenericDrawTool(Element prototype, EditPointConstraint constraint)
          The drawPoints array gets computed from all available control-points for the given element.
DrawToolFactory.GenericDrawTool(Element prototype, EditPointConstraint constraint, int[][] drawPoints)
           
EditElementMouseTransformFactory._MoveControlPointTransform(Element target, int pointIndex, EditPointConstraint constraint, String helpMessage, Grid grid)
           
EditElementMouseTransformFactory._MoveElementTransform(Element target, PicPoint clickPt, Grid grid)
           
EditElementMouseTransformFactory.MoveControlPointTransform(Element target, int pointIndex, EditPointConstraint constraint, String helpMessage, Grid grid)
           
EditElementMouseTransformFactory.MoveElementTransform(Element target, PicPoint clickPt, Grid grid)
           
EditElementMouseTransformFactory.SelectElementsInAreaTransform(Element target, boolean addToSelection)
           
EditElementMouseTransformFactory.UnselectTransform(Element target)
           
EditPointMouseTransformFactory.SelectElementTransform(Element target)
           
MoveTool(EditorKit kit, Element target)
           
RotateTool(EditorKit kit, Element target)
           
ScaleTool(EditorKit kit, Element target)
           
TransferableGraphic(Element[] elements, String formatted)
          Construct a new TransferableGraphic from a clone of the given elements and the given String containing the formatted representation of the elements (this depends on the ContentType of of the caller).
 

Uses of Element in jpicedt.graphic.view
 

Fields in jpicedt.graphic.view declared as Element
protected  Element AbstractView.element
          the graphic element that this View renders
protected  Element DefaultHighlighterFactory.DefaultHighlighter.element
          highlighted Element
 

Methods in jpicedt.graphic.view that return Element
 Element HitInfo.Composite.getClickedChild()
           
 Element AbstractView.getElement()
           
 Element DefaultHighlighterFactory.DefaultHighlighter.getElement()
          returns the higlighted Element
 Element View.getElement()
           
 Element HitInfo.getTarget()
           
 

Methods in jpicedt.graphic.view with parameters of type Element
 Highlighter DefaultHighlighterFactory.createHighlighter(Element element)
           
 Highlighter HighlighterFactory.createHighlighter(Element element)
           
 View DefaultViewFactory.createView(Element element)
           
 View ViewFactory.createView(Element element)
           
 void AbstractView.setElement(Element e)
          set the element the View is responsible for rendering
 void View.setElement(Element e)
          set the element the View is responsible for rendering
 

Constructors in jpicedt.graphic.view with parameters of type Element
AbstractView(Element element)
          construct a new View for the given Element
AbstractView(Element element, Highlighter h)
          construct a new View for the given Element, delegating highlighting to the given Highlighter.
DefaultHighlighterFactory.DefaultHighlighter(Element element)
           
DefaultViewFactory.LeafElementView(Element e)
          construct a new View for the given Element
HitInfo.EnvelopeStroke(Element clicked, int clickedSegment, PEMouseEvent mouseEvent)
          Deprecated.  
HitInfo.HighlighterStroke(Element clicked, int clickedSegment, PEMouseEvent mouseEvent)
           
HitInfo.Interior(Element clickedObject, PEMouseEvent mouseEvent)
          construct a new HitInfo.Interior that occured on the given Element
HitInfo.Point(Element clickedObject, ArrayList pointIndices, PEMouseEvent mouseEvent)
          construct a new HitInfo.Point that occured on the given Element and on the given points simultaneously.
HitInfo.Point(Element clickedObject, int pointIndex, PEMouseEvent mouseEvent)
          construct a new HitInfo.Point that occured on the given Element and on the given point index
HitInfo.Stroke(Element clicked, int clickedSegment, PEMouseEvent mouseEvent)
          construct a new HitInfo.Stroke that occured on the stroke of the given Element
HitInfo(Element clickedObject, PEMouseEvent mouseEvent)
          Construct a new HitInfo when a click occured on an object's end-point
 


http://www.jpicedt.org

Submit a bug : syd@jpicedt.org