|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | |
View |
EepicViewFactory.createView(Element element)
|
Formatter |
EepicFormatter.createFormatter(Element e)
|
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. |
Uses of Element in jpicedt.format.output.latex |
Methods in jpicedt.format.output.latex with parameters of type Element | |
View |
LatexViewFactory.createView(Element element)
|
Formatter |
LatexFormatter.createFormatter(Element e)
|
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. |
Uses of Element in jpicedt.format.output.pstricks |
Methods in jpicedt.format.output.pstricks with parameters of type Element | |
View |
PstricksViewFactory.createView(Element element)
|
static StringBuffer |
PstricksUtilities.createPstricksStringFromArrows(Element obj)
|
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. |
Uses of Element in jpicedt.graphic |
Methods in jpicedt.graphic that return Element | |
Element[] |
SelectionHandler.asArray()
Return the selected elements wrapped in an array (may be a convenience call to asCollection) |
Element[] |
AbstractSelectionHandler.asArray()
Return the selected elements wrapped in an array. |
Methods in jpicedt.graphic with parameters of type Element | |
boolean |
SelectionHandler.isSelected(Element e,
boolean includeAncestors)
Return whether the given Element is selected or not |
void |
SelectionHandler.addToSelection(Element e)
Add the given Element to the current selection |
void |
SelectionHandler.replaceSelection(Element e)
Replace the current selection with the given element. |
void |
SelectionHandler.unSelect(Element e)
Unselect the given Element, ie remove it from the current selection. |
boolean |
PECanvas.isSelected(Element e)
|
void |
PECanvas.select(Element obj,
boolean incremental)
select the given element |
void |
PECanvas.unSelect(Element obj)
unselect the given object |
protected void |
PECanvas.fireSelectionUpdate(Element element,
SelectionEvent.EventType type)
Notify all listeners that have registered interest for notification on this event type. |
protected void |
PECanvas.fireSelectionUpdate(Element[] elements,
SelectionEvent.EventType type)
Notify all listeners that have registered interest for notification on this event type. |
boolean |
AbstractSelectionHandler.isSelected(Element e,
boolean includeAncestors)
Return whether the given Element is selected or not. |
void |
AbstractSelectionHandler.addToSelection(Element e)
Add the given Element to the current selection. |
void |
AbstractSelectionHandler.replaceSelection(Element e)
Replace the current selection with the given element. |
void |
AbstractSelectionHandler.unSelect(Element e)
Unselect the given Element, i.e. |
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[] |
SelectionEvent.getElements()
Return the graphic elements that got selected/unselected. |
Element |
DrawingEvent.getElement()
Return the graphic element that changed |
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 | |
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. |
Formatter |
JPICFormatter.createFormatter(Element e)
Return a Formatter able to format the given Element in the JPIC-XML format |
Formatter |
FormatterFactory.createFormatter(Element e)
|
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 |
Element.getParent()
Gets the parent of the element. |
Element |
Drawing.getElement(int i)
|
Element |
Drawing.DefaultDrawingEvent.getElement()
|
Element |
Drawing.RootElement.getParent()
Gets the parent of the element. |
Element |
BranchElement.getChildAt(int childIndex)
|
Element |
AbstractElement.getParent()
Gets the parent of the element. |
Methods in jpicedt.graphic.model with parameters of type Element | |
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. |
void |
Element.setParent(Element p)
Sets the parent of the element. |
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 |
Drawing.removeElement(Element element)
Remove the given graphic object from this Drawing, overriden so as to update selection if this element was selected. |
void |
Drawing.addElement(Element element)
Add the given element 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 |
Drawing.replaceElement(Element src,
Element dest)
Replace the given "src" element with the given "dest" element, if "src" belongs to this drawing. |
protected void |
Drawing.fireChangedUpdate(Element changed,
DrawingEvent.EventType type)
Notify all listeners that have registered interest for notification on this event type. |
void |
Drawing.RootElement.setParent(Element p)
Sets the parent of the element. |
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 |
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. |
int |
BranchElement.getChildIndex(Element node)
Returns the index of the given Element in the receivers children. |
boolean |
BranchElement.contains(Element o)
|
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 |
BranchElement.replaceChild(int position,
Element newChild)
replace the child at the given position by the given child |
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 |
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 |
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. |
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. |
boolean |
BranchElement.isToBack(Element obj)
|
boolean |
BranchElement.isToFront(Element obj)
|
void |
AbstractElement.setParent(Element p)
Sets the parent of this element to be the given element. |
Constructors in jpicedt.graphic.model with parameters of type Element | |
Drawing.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 | |
class |
DefaultSelectionHandler
Stores references to selected Element's. |
Methods in jpicedt.graphic.toolkit that return Element | |
protected Element |
PEAction.getSelectedObject()
Returns the selected graphic element in the target board ; |
Element |
EditPointMouseTransformFactory.SelectedPointsHandler.getElement()
returns the current target Element |
Element[] |
DefaultSelectionHandler.asArray()
|
Element |
DefaultSelectionHandler.getParent()
Gets the parent of the element. |
protected Element |
AbstractMouseTransform.getTarget()
Return the element this transform acts upon |
protected Element |
AbstractMouseTransform.getClone()
Return the clone of the target element, which was init'd by startTransform |
Methods in jpicedt.graphic.toolkit with parameters of type Element | |
protected boolean |
EditPointMouseTransformFactory.isValidTarget(Element e)
Return true is the given element is a valid target for this factory. |
void |
EditPointMouseTransformFactory.SelectedPointsHandler.setElement(Element e)
sets the current Element and clears the list of selected-points |
boolean |
DefaultSelectionHandler.isSelected(Element e,
boolean includeAncestors)
|
void |
DefaultSelectionHandler.addToSelection(Element e)
Add the given Element to the current selection |
void |
DefaultSelectionHandler.replaceSelection(Element e)
Replace the current selection with the given element. |
void |
DefaultSelectionHandler.unSelect(Element e)
Unselect the given Element, ie remove it from the current selection. |
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.removeChild(Element child)
overriden so as to leave child's parent and view unchanged. |
Uses of Element in jpicedt.graphic.view |
Fields in jpicedt.graphic.view declared as Element | |
protected Element |
DefaultHighlighterFactory.DefaultHighlighter.element
highlighted Element |
protected Element |
AbstractView.element
the graphic element that this View renders |
Methods in jpicedt.graphic.view that return Element | |
Element |
View.getElement()
|
Element |
HitInfo.getTarget()
|
Element |
HitInfo.Composite.getClickedChild()
|
Element |
DefaultHighlighterFactory.DefaultHighlighter.getElement()
returns the higlighted Element |
Element |
AbstractView.getElement()
|
Methods in jpicedt.graphic.view with parameters of type Element | |
View |
ViewFactory.createView(Element element)
|
void |
View.setElement(Element e)
set the element the View is responsible for rendering |
Highlighter |
HighlighterFactory.createHighlighter(Element element)
|
View |
DefaultViewFactory.createView(Element element)
|
Highlighter |
DefaultHighlighterFactory.createHighlighter(Element element)
|
void |
AbstractView.setElement(Element e)
set the element the View is responsible for rendering |
Constructors in jpicedt.graphic.view with parameters of type Element | |
HitInfo(Element clickedObject,
PEMouseEvent mouseEvent)
Construct a new HitInfo when a click occured on an object's end-point |
|
HitInfo.Interior(Element clickedObject,
PEMouseEvent mouseEvent)
construct a new HitInfo.Interior that occured on the given Element |
|
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.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.Stroke(Element clicked,
int clickedSegment,
PEMouseEvent mouseEvent)
construct a new HitInfo.Stroke that occured on the stroke of the given Element |
|
HitInfo.HighlighterStroke(Element clicked,
int clickedSegment,
PEMouseEvent mouseEvent)
|
|
HitInfo.EnvelopeStroke(Element clicked,
int clickedSegment,
PEMouseEvent mouseEvent)
Deprecated. |
|
DefaultViewFactory.LeafElementView(Element e)
construct a new View for the given Element |
|
DefaultHighlighterFactory.DefaultHighlighter(Element 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. |
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |