Uses of Interface
jpicedt.graphic.model.Element
-
Packages that use Element Package Description 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 Constructor Description LaTeXInstanciationExpression(java.lang.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 Constructor Description PSTInstanciationExpression(java.lang.String tag, Element prototype, Pool pl) -
Uses of Element in jpicedt.format.input.util
Fields in jpicedt.format.input.util declared as Element Modifier and Type Field Description ElementPool. currentObjConvenience used to share information (e.g.Constructors in jpicedt.format.input.util with parameters of type Element Constructor Description InstanciationExpression(java.lang.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 Modifier and Type Method Description voidEepicFormatter. appendThicknessString(java.lang.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.FormatterEepicFormatter. createFormatter(Element e)ViewEepicViewFactory. createView(Element element) -
Uses of Element in jpicedt.format.output.latex
Methods in jpicedt.format.output.latex with parameters of type Element Modifier and Type Method Description voidLatexFormatter. appendThicknessString(java.lang.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.FormatterLatexFormatter. createFormatter(Element e)ViewLatexViewFactory. createView(Element element) -
Uses of Element in jpicedt.format.output.pstricks
Methods in jpicedt.format.output.pstricks with parameters of type Element Modifier and Type Method Description FormatterPstricksFormatter. createFormatter(Element e)PstricksFormatter.ParameterStringPstricksFormatter. createParameterString(Element obj)Returns PsTricks's "standard" parameter string for the given Element: linewidth=xxx, linecolor=xxxx, doubleline=true/false and rel.static java.lang.StringBufferPstricksUtilities. createPstricksStringFromArrows(Element obj)ViewPstricksViewFactory. createView(Element element) -
Uses of Element in jpicedt.graphic
Methods in jpicedt.graphic that return Element Modifier and Type Method Description 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 Modifier and Type Method Description voidAbstractSelectionHandler. addToSelection(Element e)Add the given Element to the current selection.voidSelectionHandler. addToSelection(Element e)Add the given Element to the current selectionprotected voidPECanvas. fireSelectionUpdate(Element[] elements, SelectionEvent.EventType type)Notify all listeners that have registered interest for notification on this event type.protected voidPECanvas. fireSelectionUpdate(Element element, SelectionEvent.EventType type)Notify all listeners that have registered interest for notification on this event type.booleanAbstractSelectionHandler. isSelected(Element e, boolean includeAncestors)Return whether the given Element is selected or not.booleanPECanvas. isSelected(Element e)booleanSelectionHandler. isSelected(Element e, boolean includeAncestors)Return whether the given Element is selected or notvoidAbstractSelectionHandler. replaceSelection(Element e)Replace the current selection with the given element.voidSelectionHandler. replaceSelection(Element e)Replace the current selection with the given element.voidPECanvas. select(Element obj, boolean incremental)select the given elementvoidAbstractSelectionHandler. unSelect(Element e)Unselect the given Element, i.e.voidPECanvas. unSelect(Element obj)unselect the given objectvoidSelectionHandler. 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 Modifier and Type Field Description protected Element[]SelectionEvent. elementsthe elements that were (un)selectedMethods in jpicedt.graphic.event that return Element Modifier and Type Method Description ElementDrawingEvent. getElement()Return the graphic element that changedElement[]SelectionEvent. getElements()Return the graphic elements that got selected/unselected.Constructors in jpicedt.graphic.event with parameters of type Element Constructor Description 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 Modifier and Type Method Description FormatterFormatterFactory. createFormatter(Element e)FormatterJPICFormatter. createFormatter(Element e)Return a Formatter able to format the given Element in the JPIC-XML formatprotected voidXmlAttributeSet. 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 Modifier and Type Class Description classAbstractCurveA curve made up of a concatenation of cubic bezier curves and straight lines, hereafter globally denoted as "segments".classAbstractElementAn abstract class that can serve as the basis class for elements of a Drawing.classBranchElementAn abstract class for Element's that allow children.classDefaultLeafElementThis is a default implementation of AbstractElement targetting leaf Element's, i.e.classDrawing.RootElementthe Element that is the root of the tree of Element's in this Drawing.classPicCircleFrom3PointsA 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.classPicEllipseEllipse 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.classPicGroupA concrete implementation of BranchElement that is suited for building groups of elements.classPicMultiCurvePicMultiCurve is basically an AbstractCurve where each subdivision point has additionnal features regarding 2nd-order smoothness and symmetry.classPicNodeConnectionThis class represents a connection between two DefaultLeafElement's.classPicParallelogramA class implementing a parallelogram.classPicPsCurveA multicurve, either closed or not, going through a set of control points.classPicSmoothPolygonA multicurve, either close or not, whose geometry is specified using a polygon, in such a way that the curve snakes "smoothly" along the polygon.classPicTextTextual elements, possibly surrounded by a box (currently, only rectangular, oval and circular shapes are supported).classTextEditableAn abstract class for Element's that have a textual representation, and [pending:removed as of 1.3.2] whose text can be graphically editedFields in jpicedt.graphic.model declared as Element Modifier and Type Field Description protected ElementDefaultPointIndexIterator. elemprotected ElementAbstractElement. parentthe parent of this elementMethods in jpicedt.graphic.model that return Element Modifier and Type Method Description ElementBranchElement. getChildAt(int childIndex)ElementDrawing.DefaultDrawingEvent. getElement()ElementDrawing. getElement(int i)ElementAbstractElement. getParent()Gets the parent of the element.ElementDrawing.RootElement. getParent()Gets the parent of the element.ElementElement. getParent()Gets the parent of the element.Methods in jpicedt.graphic.model with parameters of type Element Modifier and Type Method Description voidBranchElement. 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.voidBranchElement. addChild(Element child)add the given child to this BranchElement, setting its parent to this.voidDrawing. addElement(Element element)Add the given element to this DrawingvoidBranchElement. bringBackward(Element obj)Move the given child one position backward, i.e.voidBranchElement. bringForward(Element obj)Move the given child one position forward, i.e.voidBranchElement. bringToBack(Element obj)Move the given child to back (i.e.voidBranchElement. bringToFront(Element obj)Move the given child to front, i.e.booleanBranchElement. contains(Element o)protected voidDrawing. fireChangedUpdate(Element changed, DrawingEvent.EventType type)Notify all listeners that have registered interest for notification on this event type.voidBranchElement. 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.voidDefaultLeafElement. 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.voidDrawing.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.voidElement. 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.voidPicNodeConnection. 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.intBranchElement. getChildIndex(Element node)Returns the index of the given Element in the receivers children.booleanBranchElement. isToBack(Element obj)booleanBranchElement. isToFront(Element obj)voidBranchElement. 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.voidDrawing. removeElement(Element element)Remove the given graphic object from this Drawing, overriden so as to update selection if this element was selected.voidBranchElement. replaceChild(int position, Element newChild)replace the child at the given position by the given childvoidDrawing. 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.voidDrawing. replaceElement(Element src, Element dest)Replace the given "src" element with the given "dest" element, if "src" belongs to this drawing.voidAbstractElement. setParent(Element p)Sets the parent of this element to be the given element.voidDrawing.RootElement. setParent(Element p)Sets the parent of the element.voidElement. setParent(Element p)Sets the parent of the element.Constructors in jpicedt.graphic.model with parameters of type Element Constructor Description DefaultDrawingEvent(Element element, DrawingEvent.EventType type)DefaultPointIndexIterator(Element e)create a new PointIndexIterator for the given Element -
Uses of Element in jpicedt.graphic.toolkit
Classes in jpicedt.graphic.toolkit that implement Element Modifier and Type Class Description classDefaultSelectionHandlerStores references to selected Element's.Methods in jpicedt.graphic.toolkit that return Element Modifier and Type Method Description Element[]DefaultSelectionHandler. asArray()protected ElementAbstractMouseTransform. getClone()Return the clone of the target element, which was init'd bystartTransformElementEditPointMouseTransformFactory.SelectedPointsHandler. getElement()returns the current target ElementElementDefaultSelectionHandler. getParent()Gets the parent of the element.protected ElementPEAction. getSelectedObject()Returns the selected graphic element in the target board ;protected ElementAbstractMouseTransform. getTarget()Return the element this transform acts uponMethods in jpicedt.graphic.toolkit with parameters of type Element Modifier and Type Method Description voidDefaultSelectionHandler. addChild(Element child)overriden so that the parent of the added element isn't set to this, and its view is left unchanged.voidDefaultSelectionHandler. addToSelection(Element e)Add the given Element to the current selectionbooleanDefaultSelectionHandler. isSelected(Element e, boolean includeAncestors)protected booleanEditPointMouseTransformFactory. isValidTarget(Element e)Return true is the given element is a valid target for this factory.voidDefaultSelectionHandler. removeChild(Element child)overriden so as to leave child's parent and view unchanged.voidDefaultSelectionHandler. replaceSelection(Element e)Replace the current selection with the given element.voidEditPointMouseTransformFactory.SelectedPointsHandler. setElement(Element e)sets the current Element and clears the list of selected-pointsvoidDefaultSelectionHandler. unSelect(Element e)Unselect the given Element, ie remove it from the current selection.Constructors in jpicedt.graphic.toolkit with parameters of type Element Constructor Description _MoveControlPointTransform(Element target, int pointIndex, EditPointConstraint constraint, java.lang.String helpMessage, Grid grid)_MoveElementTransform(Element target, PicPoint clickPt, Grid grid)AbstractMouseTransform(Element target)GenericDrawTool(Element prototype, EditPointConstraint constraint)ThedrawPointsarray gets computed from all available control-points for the given element.GenericDrawTool(Element prototype, EditPointConstraint constraint, int[][] drawPoints)MoveControlPointTransform(Element target, int pointIndex, EditPointConstraint constraint, java.lang.String helpMessage, Grid grid)MoveElementTransform(Element target, PicPoint clickPt, Grid grid)MoveTool(EditorKit kit, Element target)RotateTool(EditorKit kit, Element target)ScaleTool(EditorKit kit, Element target)SelectElementsInAreaTransform(Element target, boolean addToSelection)SelectElementTransform(Element target)TransferableGraphic(Element[] elements, java.lang.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).UnselectTransform(Element target) -
Uses of Element in jpicedt.graphic.view
Fields in jpicedt.graphic.view declared as Element Modifier and Type Field Description protected ElementAbstractView. elementthe graphic element that this View rendersprotected ElementDefaultHighlighterFactory.DefaultHighlighter. elementhighlighted ElementMethods in jpicedt.graphic.view that return Element Modifier and Type Method Description ElementHitInfo.Composite. getClickedChild()ElementAbstractView. getElement()ElementDefaultHighlighterFactory.DefaultHighlighter. getElement()returns the higlighted ElementElementView. getElement()ElementHitInfo. getTarget()Methods in jpicedt.graphic.view with parameters of type Element Modifier and Type Method Description HighlighterDefaultHighlighterFactory. createHighlighter(Element element)HighlighterHighlighterFactory. createHighlighter(Element element)ViewDefaultViewFactory. createView(Element element)ViewViewFactory. createView(Element element)voidAbstractView. setElement(Element e)set the element the View is responsible for renderingvoidView. setElement(Element e)set the element the View is responsible for renderingConstructors in jpicedt.graphic.view with parameters of type Element Constructor Description AbstractView(Element element)construct a new View for the given ElementAbstractView(Element element, Highlighter h)construct a new View for the given Element, delegating highlighting to the given Highlighter.DefaultHighlighter(Element element)EnvelopeStroke(Element clicked, int clickedSegment, PEMouseEvent mouseEvent)Deprecated.HighlighterStroke(Element clicked, int clickedSegment, PEMouseEvent mouseEvent)HitInfo(Element clickedObject, PEMouseEvent mouseEvent)Construct a new HitInfo when a click occured on an object's end-pointInterior(Element clickedObject, PEMouseEvent mouseEvent)construct a new HitInfo.Interior that occured on the given ElementLeafElementView(Element e)construct a new View for the given ElementPoint(Element clickedObject, int pointIndex, PEMouseEvent mouseEvent)construct a new HitInfo.Point that occured on the given Element and on the given point indexPoint(Element clickedObject, java.util.ArrayList pointIndices, PEMouseEvent mouseEvent)construct a new HitInfo.Point that occured on the given Element and on the given points simultaneously.Stroke(Element clicked, int clickedSegment, PEMouseEvent mouseEvent)construct a new HitInfo.Stroke that occured on the stroke of the given Element
-