|
|||||||||
Home >> All >> jpicedt >> graphic >> [ view overview ] | PREV NEXT |
A
- AbstractView - class jpicedt.graphic.view.AbstractView.
- Abstract implementation that provide some basic common behaviours for View's.
- AbstractView(Element) - Constructor for class jpicedt.graphic.view.AbstractView
- construct a new View for the given Element
- arrow1 - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- arrow1 - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- arrow1 - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- arrow1Dir - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- arrow1Dir - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- arrow1Dir - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- arrow1Loc - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- arrow2 - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- arrow2 - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- arrow2 - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- arrow2Dir - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- arrow2Dir - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- arrow2Dir - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- arrow2Loc - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- arrowEnd - Variable in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- arrowEndDir - Variable in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- arrowStart - Variable in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- arrowStartDir - Variable in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- arrowStroke - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- arrowStroke - Variable in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- arrowStroke - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- arrowStroke - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
B
- BARBELL_SIZE - Static variable in interface jpicedt.graphic.view.View
- a constant that can be used as the size of selection-barbells (in pixels !!!)
- bounds - Variable in class jpicedt.graphic.view.AbstractView
- the bounds rectangle used for clipping (as returned by getBounds) ; this should be updated by changedUpdate.
C
- CLICK_DISTANCE - Static variable in interface jpicedt.graphic.view.View
- a constant that can be used as the max.
- changedUpdate(DrawingEvent.EventType) - Method in class jpicedt.graphic.view.DefaultViewFactory.CompositeView
- Give notification from the model that a change occured for an element this view is responsible for rendering.
- changedUpdate(DrawingEvent.EventType) - Method in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- Give notification from the model that a change occured for an element this view is responsible for rendering.
- changedUpdate(DrawingEvent.EventType) - Method in interface jpicedt.graphic.view.View
- Give notification from the model that a change occured for an element this view is responsible for rendering.
- clickedChildIndex - Variable in class jpicedt.graphic.view.HitInfo.Composite
- clickedObject - Variable in class jpicedt.graphic.view.HitInfo
- clickedSegment - Variable in class jpicedt.graphic.view.HitInfo.Stroke
- configure(Properties) - Static method in class jpicedt.graphic.view.DefaultViewFactory
- Configure static fields using the given Properties object
- createArrow(PicAttributeSet, PicAttributeName) - Method in class jpicedt.graphic.view.DefaultViewFactory
- createDotsForPolygons(PicAttributeSet) - Method in class jpicedt.graphic.view.DefaultViewFactory
- createPaintForInterior(PicAttributeSet) - Method in class jpicedt.graphic.view.DefaultViewFactory
- createPaintForOutline(PicAttributeSet) - Method in class jpicedt.graphic.view.DefaultViewFactory
- createStroke(PicAttributeSet) - Method in class jpicedt.graphic.view.DefaultViewFactory
- createView(Element) - Method in class jpicedt.graphic.view.DefaultViewFactory
- createView(Element) - Method in interface jpicedt.graphic.view.ViewFactory
D
- DefaultViewFactory - class jpicedt.graphic.view.DefaultViewFactory.
- This is the default factory used to create a View for a given Element ; should be used when one wants to render all Element's attributes ; otherwise subclass with your own ViewFactory and override : createView : to return your own View for some or all Element's (then call super.createView) createStroke, createPaintForInterior, createPaintForOutline : these methods are called by various View's to extract rendering information from PicAttributeSet's when common behaviour is expected whatever the particular Element is being actually rendered.
- DefaultViewFactory() - Constructor for class jpicedt.graphic.view.DefaultViewFactory
- DefaultViewFactory.CompositeView - class jpicedt.graphic.view.DefaultViewFactory.CompositeView.
- a CompositeView is a graphic representation of a BranchElement
- DefaultViewFactory.CompositeView(BranchElement) - Constructor for class jpicedt.graphic.view.DefaultViewFactory.CompositeView
- construct a new View for the given PicGroup
- DefaultViewFactory.CubicBezierView - class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView.
- A view for rendering cubic splines
- DefaultViewFactory.CubicBezierView(PicBezierCubic) - Constructor for class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- construct a new View for the given PicBezierCubic
- DefaultViewFactory.EllipseView - class jpicedt.graphic.view.DefaultViewFactory.EllipseView.
- a View to render PicEllipse
- DefaultViewFactory.EllipseView(PicEllipse) - Constructor for class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- construct a new View for the given PicEllipse
- DefaultViewFactory.LeafElementView - class jpicedt.graphic.view.DefaultViewFactory.LeafElementView.
- a View for rendering leaf-elements ; implements attributes caching, and shape rendering.
- DefaultViewFactory.LeafElementView(Element) - Constructor for class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- construct a new View for the given Element
- DefaultViewFactory.PolygonView - class jpicedt.graphic.view.DefaultViewFactory.PolygonView.
- a View for rendering polygons
- DefaultViewFactory.PolygonView(PicPolygon) - Constructor for class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- construct a new View for the given polygon
- DefaultViewFactory.QuadBezierView - class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView.
- A view for rendering quad splines
- DefaultViewFactory.QuadBezierView(PicBezierQuad) - Constructor for class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- construct a new View for the given PicBezierQuad
- DefaultViewFactory.RectangleView - class jpicedt.graphic.view.DefaultViewFactory.RectangleView.
- a View for rendering rectangles
- DefaultViewFactory.RectangleView(PicRectangle) - Constructor for class jpicedt.graphic.view.DefaultViewFactory.RectangleView
- construct a new View for the given PicRectangle
- DefaultViewFactory.TextView - class jpicedt.graphic.view.DefaultViewFactory.TextView.
- a View for rendering Text's
- DefaultViewFactory.TextView(PicText) - Constructor for class jpicedt.graphic.view.DefaultViewFactory.TextView
- construct a new View for the given PicRectangle
- dotShape - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
E
- element - Variable in class jpicedt.graphic.view.AbstractView
- the graphic element that this View renders
G
- getBounds() - Method in class jpicedt.graphic.view.AbstractView
- getBounds() - Method in interface jpicedt.graphic.view.View
- getClickedChild() - Method in class jpicedt.graphic.view.HitInfo.Composite
- getClickedChildIndex() - Method in class jpicedt.graphic.view.HitInfo.Composite
- getClickedSegment() - Method in class jpicedt.graphic.view.HitInfo.Stroke
- getContainer() - Method in class jpicedt.graphic.view.AbstractView
- Fetches the container hosting the view.
- getContainer() - Method in interface jpicedt.graphic.view.View
- Fetches the container hosting the view.
- getDrawing() - Method in class jpicedt.graphic.view.AbstractView
- Fetches the model associated with the view.
- getDrawing() - Method in interface jpicedt.graphic.view.View
- Fetches the model associated with the view.
- getElement() - Method in class jpicedt.graphic.view.AbstractView
- getElement() - Method in interface jpicedt.graphic.view.View
- getGraphics() - Method in class jpicedt.graphic.view.AbstractView
- Fetch a Graphics for rendering from the hosting container (if not null).
- getGraphics() - Method in interface jpicedt.graphic.view.View
- Fetch a Graphics for rendering.
- getIndex() - Method in class jpicedt.graphic.view.HitInfo.Point
- getMouseEvent() - Method in class jpicedt.graphic.view.HitInfo
- getParentView() - Method in class jpicedt.graphic.view.AbstractView
- Returns the parent of the view, as given by the tree-structure the associated graphic element belongs to.
- getParentView() - Method in interface jpicedt.graphic.view.View
- Returns the parent of the view, as given by the tree-structure the associated graphic element belongs to.
- getTarget() - Method in class jpicedt.graphic.view.HitInfo
- getViewFactory() - Method in class jpicedt.graphic.view.AbstractView
- Fetches the ViewFactory implementation that is feeding the view hierarchy.
- getViewFactory() - Method in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- Fetches the ViewFactory implementation that is feeding the view hierarchy.
- getViewFactory() - Method in interface jpicedt.graphic.view.View
- Fetches the ViewFactory implementation that is feeding the view hierarchy.
H
- HitInfo - class jpicedt.graphic.view.HitInfo.
- A HitInfo encapsulates information related to a mouse click on a particular Element.
- HitInfo(Element, PEMouseEvent) - Constructor for class jpicedt.graphic.view.HitInfo
- Construct a new HitInfo when a click occured on an object's end-point
- HitInfo.Composite - class jpicedt.graphic.view.HitInfo.Composite.
- Represent a particular type of Hit that occured on a child of a branch-element, when one whants to specify both the element and its child.
- HitInfo.Composite(BranchElement, int, PEMouseEvent) - Constructor for class jpicedt.graphic.view.HitInfo.Composite
- construct a new HitInfo.Point that occured in the given BranchElement, on the child with the given index.
- HitInfo.Interior - class jpicedt.graphic.view.HitInfo.Interior.
- Represent a Hit that occured on the interior of a Element
- HitInfo.Interior(Element, PEMouseEvent) - Constructor for class jpicedt.graphic.view.HitInfo.Interior
- construct a new HitInfo.Interior that occured on the given Element
- HitInfo.Point - class jpicedt.graphic.view.HitInfo.Point.
- Represent a Hit that occured on a Element's end-point
- HitInfo.Point(Element, int, PEMouseEvent) - Constructor for class jpicedt.graphic.view.HitInfo.Point
- construct a new HitInfo.Point that occured on the given Element and on the given point index
- HitInfo.Stroke - class jpicedt.graphic.view.HitInfo.Stroke.
- Represent a Hit that occured on an Element.
- HitInfo.Stroke(Element, int, PEMouseEvent) - Constructor for class jpicedt.graphic.view.HitInfo.Stroke
- construct a new HitInfo.Stroke that occured on the stroke of the given Element
- hitTest(PEMouseEvent, boolean) - Method in class jpicedt.graphic.view.AbstractView
- Current implementation returns a HitInfo.Point if highlighter is visible and a click occured on an end-point ; return null otherwise.
- hitTest(PEMouseEvent, boolean) - Method in class jpicedt.graphic.view.DefaultViewFactory.CompositeView
- hitTest(PEMouseEvent, boolean) - Method in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- This implementation calls
super.hitTest
and returns the result if non-null (this should be a HitInfo.Point), then returns a HitInfo.Interior if the view is painted filled and a click occured on the interior, or finally a HitInfo.Stroke if a click occured on the stroke path (this use a FlatteningPathIterator built fromshape
). - hitTest(PEMouseEvent, boolean) - Method in class jpicedt.graphic.view.DefaultViewFactory.TextView
- This implementation calls
super.hitTest
and returns the result if non-null (this should be a HitInfo.Point), then returns a HitInfo.Interior if the mouse-click occured inside the text bound (as defined by text layout) - hitTest(PEMouseEvent, boolean) - Method in interface jpicedt.graphic.view.View
- Current implementation returns a HitInfo.Point if highlighter is visible and a click occured on an end-point ; return null otherwise.
I
- interiorPaint - Variable in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- paint for interior (cached)
- isLine - Variable in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
J
- jpicedt.graphic.view - package jpicedt.graphic.view
- jPicEdt library core classes and packages.
K
- KEY_TEXT_FONT - Static variable in class jpicedt.graphic.view.DefaultViewFactory
- key used to fetch the font family value from a Properties object
L
- lineWidth - Variable in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- line width to be used to compute the view bounds (cached)
M
- main(String[]) - Static method in class jpicedt.graphic.view.DefaultViewFactory
- mouseEvent - Variable in class jpicedt.graphic.view.HitInfo
O
- outlinePaint - Variable in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- paint for outline (cached)
- outlineStroke - Variable in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- stroke for outline (cached)
P
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.AbstractView
- This implementation does nothing.
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory.CompositeView
- Render the View for the graphic element to the given graphic context.
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- Render the View to the given graphic context.
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- Render the View to the given graphic context.
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- Render the View to the given graphic context.
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- Render the View to the given graphic context.
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- Render the View to the given graphic context.
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory.RectangleView
- Render the View to the given graphic context.
- paint(Graphics2D, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory.TextView
- Render the View to the given graphic context.
- paint(Graphics2D, Rectangle2D) - Method in interface jpicedt.graphic.view.View
- Render the View of the underlying Element to the given graphic context.
- paintHatches(Graphics2D, PicAttributeSet, Shape) - Method in class jpicedt.graphic.view.DefaultViewFactory
- paint hatches (vlines,...) depending on the FILL_STYLE attributes of the given set.
- paintHighlighter(Graphics2D, Rectangle2D, double) - Method in class jpicedt.graphic.view.AbstractView
- Render the Highlighter to the given graphic context.
Current implementation paints end-points using the highlighter color if the given allocation intersects the bounds of this view. - paintHighlighter(Graphics2D, Rectangle2D, double) - Method in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- Render the Highlighter to the given graphic context.
Current implementation paints end-points using the highlighter color if the given allocation intersects the bounds of this view. - paintHighlighter(Graphics2D, Rectangle2D, double) - Method in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- Render the Highlighter to the given graphic context.
Current implementation paints end-points using the highlighter color if the given allocation intersects the bounds of this view, then paint the bounding box (this helps a lot if angle extent is small...) - paintHighlighter(Graphics2D, Rectangle2D, double) - Method in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- Render the Highlighter to the given graphic context.
Current implementation paints end-points using the highlighter color if the given allocation intersects the bounds of this view. - paintHighlighter(Graphics2D, Rectangle2D, double) - Method in interface jpicedt.graphic.view.View
- Render the Highlighter to the given graphic context.
- paintShadow(Graphics2D, PicAttributeSet, Shape) - Method in class jpicedt.graphic.view.DefaultViewFactory
- paint shadow depending on the SHADOW attribute and rel.
- pointIndex - Variable in class jpicedt.graphic.view.HitInfo.Point
- producer - Variable in class jpicedt.graphic.view.DefaultViewFactory.CompositeView
- ptAngleEnd - Variable in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- ptAngleStart - Variable in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- ptArrow1 - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- ptArrow1 - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- ptArrow2 - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- ptArrow2 - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- ptLR - Variable in class jpicedt.graphic.view.DefaultViewFactory.CompositeView
- ptUL - Variable in class jpicedt.graphic.view.DefaultViewFactory.CompositeView
R
- repaint(Rectangle2D) - Method in class jpicedt.graphic.view.AbstractView
- ask the hosting container (if it's non-null) to repaint itself
- repaint(Rectangle2D) - Method in interface jpicedt.graphic.view.View
- ask the hosting container to repaint itself
S
- setElement(Element) - Method in class jpicedt.graphic.view.AbstractView
- set the element the View is responsible for rendering
- setElement(Element) - Method in interface jpicedt.graphic.view.View
- set the element the View is responsible for rendering
- shape - Variable in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- shape to be drawn ; subclass must update it properly
- strx - Variable in class jpicedt.graphic.view.DefaultViewFactory.TextView
- TextLayout location
- stry - Variable in class jpicedt.graphic.view.DefaultViewFactory.TextView
- TextLayout location
- syncAttributes() - Method in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- Synchronizes cached attributes values with the model ;
lineWidth, from the LINE_WIDTH attribute
outlineStroke, from the ViewFactory, using
createStroke
outinePaint, from the ViewFactory, usingcreatePaintForOutline
interiorPaint, from the ViewFactory, usingcreatePaintForInterior
- syncAttributes() - Method in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- Inherits from superclass, except for filling behaviour ; adds dotting behaviour according to Shape returned by createDostForPolygons.
- syncBounds() - Method in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- Synchronizes the bounding box with the model ; "bounds" is first computed from element.getBoundingBox(), (which is not necessarily a wise choice, since in a way it ties probably too deeply the view and the model [pending]), then its size gets increased by BARBELL_SIZE, line-thickness, and possibly the shadow area, so as to prevent the outline from sticking out of the bounds if lines are real thick.
- syncBounds() - Method in class jpicedt.graphic.view.DefaultViewFactory.TextView
- Synchronizes bounding box with the model ;
- syncFrame() - Method in class jpicedt.graphic.view.DefaultViewFactory.TextView
- synchronize frame shape and location
- syncShape() - Method in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- Synchronize the "shape" variable with the model
- syncShape() - Method in class jpicedt.graphic.view.DefaultViewFactory.EllipseView
- Synchronize the "shape" variable with the model
- syncShape() - Method in class jpicedt.graphic.view.DefaultViewFactory.LeafElementView
- Synchronize the "shape" variable with the model ; obviously, this implementation does nothing !
- syncShape() - Method in class jpicedt.graphic.view.DefaultViewFactory.PolygonView
- Synchronize the "shape" variable with the model
- syncShape() - Method in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- Synchronize the "shape" variable with the model
- syncShape() - Method in class jpicedt.graphic.view.DefaultViewFactory.RectangleView
- Synchronize the "shape" variable with the model
- syncShape() - Method in class jpicedt.graphic.view.DefaultViewFactory.TextView
- Synchronize the textLayout and the shape (=frame box, by calling syncFrame) with the model
- syncStringLocationX() - Method in class jpicedt.graphic.view.DefaultViewFactory.TextView
- update strx
- syncStringLocationY() - Method in class jpicedt.graphic.view.DefaultViewFactory.TextView
- update stry
T
- TEXT_FONT_DEFAULT - Static variable in class jpicedt.graphic.view.DefaultViewFactory
- default font used to display text with TextView
- tangent1 - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- tangent1 - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- tangent2 - Variable in class jpicedt.graphic.view.DefaultViewFactory.CubicBezierView
- tangent2 - Variable in class jpicedt.graphic.view.DefaultViewFactory.QuadBezierView
- textFont - Static variable in class jpicedt.graphic.view.DefaultViewFactory
- font used to display text strings with TextView
- textLayout - Variable in class jpicedt.graphic.view.DefaultViewFactory.TextView
- the TextLayout that renders the text string of this TextEditable
V
- View - interface jpicedt.graphic.view.View.
- a View is a graphic representation of a Element.
- ViewFactory - interface jpicedt.graphic.view.ViewFactory.
- A factory to create a View for a given Element.
_
- _paintHatches(Graphics2D, PicAttributeSet, double, Rectangle2D) - Method in class jpicedt.graphic.view.DefaultViewFactory
A B C D E G H I J K L M O P R S T V _
|
|||||||||
Home >> All >> jpicedt >> graphic >> [ view overview ] | PREV NEXT |