Skip navigation links
java2d by
jTEM
A C D E F G H I M N P R S T V W 

A

addAppearanceChangeListener(AppearanceChangeListener) - Method in class de.jtem.java2d.SceneComponent
 
addChild(SceneComponent) - Method in class de.jtem.java2d.SceneComponent
Adds a child node.
addChild(int, SceneComponent) - Method in class de.jtem.java2d.SceneComponent
 
addDragListener(DragListener) - Method in class de.jtem.java2d.SceneComponent
Adds l to the list of listeners that are notified when this node is dragged.
addDragListener(DragListener) - Method in class de.jtem.java2d.Viewer2D
Adds l to the list of listeners that are notified of drag events on the viewer background.
addMouseOverListener(MouseOverListener) - Method in class de.jtem.java2d.SceneComponent
Adds l to the list of listeners that are notified when this node is over this component.
addViewportChangeListener(ViewportChangeListener) - Method in class de.jtem.java2d.Viewer2D
Adds l to the list of listeners that are notified when the viewport changes.
Annotation - Class in de.jtem.java2d
This class captures the information needed to decribe the textual annotation (a finite number of text strings at given positions) of a scene graph node.
Annotation() - Constructor for class de.jtem.java2d.Annotation
Creates an annotation with no text strings.
Annotation(String, double, double, int) - Constructor for class de.jtem.java2d.Annotation
 
Annotation(Annotation) - Constructor for class de.jtem.java2d.Annotation
 
appearanceChange(AppearanceChangeEvent) - Method in interface de.jtem.java2d.AppearanceChangeListener
Take notice that the appearance of some scene node has changed (meaning that a repaint is needed).
appearanceChange(AppearanceChangeEvent) - Method in class de.jtem.java2d.SceneComponent
 
appearanceChange(AppearanceChangeEvent) - Method in class de.jtem.java2d.Viewer2D
 
AppearanceChangeEvent - Class in de.jtem.java2d
The event that signals that some element in the scene has changed its appearance (and hence, for example, repainting the viewer windows is needed).
AppearanceChangeListener - Interface in de.jtem.java2d
The listener interface for receiving appearanceChange events.

C

CENTER - Static variable in class de.jtem.java2d.Annotation
The anchor point is at the center of the bounding box of the text.
CoordinateGrid - Class in de.jtem.java2d
A scene component whose geometry is a coordinate grid that fills a rectangle in user space (usually the viewport of a viewer).
CoordinateGrid() - Constructor for class de.jtem.java2d.CoordinateGrid
Creates an aspect ratio preserving grid filling the region where both coordinates lie between -1 and 1.
CoordinateGrid(Rectangle2D.Double, boolean) - Constructor for class de.jtem.java2d.CoordinateGrid
Creates a grid filling the rectangle r, preserving the aspect ratio if keepAspectRatio is true.
CoordinateGridBeanInfo - Class in de.jtem.java2d
 
CoordinateGridBeanInfo() - Constructor for class de.jtem.java2d.CoordinateGridBeanInfo
 
copyAttributesFrom(SceneComponent) - Method in class de.jtem.java2d.SceneComponent
 

D

de.jtem.java2d - package de.jtem.java2d
 
drag(TransformedMouseEvent) - Method in interface de.jtem.java2d.DragListener
A drag action with some input device has been continued.
drag(TransformedMouseEvent) - Method in class de.jtem.java2d.SceneComponent
 
dragEnd(TransformedMouseEvent) - Method in interface de.jtem.java2d.DragListener
A drag action with some input device has finished.
dragEnd(TransformedMouseEvent) - Method in class de.jtem.java2d.SceneComponent
 
DragListener - Interface in de.jtem.java2d
The listener interface for receiving drag events (dragStart, drag, dragEnd), signalling that a SceneNode is being dragged (with some unspecified input device).
dragStart(TransformedMouseEvent) - Method in interface de.jtem.java2d.DragListener
A drag action with some input device has begun.
dragStart(TransformedMouseEvent) - Method in class de.jtem.java2d.SceneComponent
 

E

EAST - Static variable in class de.jtem.java2d.Annotation
The anchor point is in the center of the right edge of the bounding box of the text.
encompass(Rectangle2D.Double) - Method in class de.jtem.java2d.Viewer2D
 
encompass(Rectangle2D.Double, double, double) - Method in class de.jtem.java2d.Viewer2D
Use a translation and a scaling (preserving the aspect ratio) to make the rectangle r in user space just fit into the viewing window (centered both horizontally and vertically), respecting the value of the property encompassMargin.
equals(Object) - Method in class de.jtem.java2d.Annotation
 
equals(Object) - Method in class de.jtem.java2d.Icon2D
 
exportPDF() - Method in class de.jtem.java2d.Viewer2D
 

F

fireAppearanceChange() - Method in class de.jtem.java2d.SceneComponent
Notifies all registered AppearanceChangeListeners that the appearance of this node has changed (meaning that a repaint is needed).

G

getAnchor() - Method in class de.jtem.java2d.Annotation
Tells where anchor point the text is located on the bounding box of the text , possibly with an additional offset in the indicated direction.
getAnchor() - Method in class de.jtem.java2d.Icon2D
 
getAnnotated() - Method in class de.jtem.java2d.SceneComponent
 
getAnnotationMargin() - Method in class de.jtem.java2d.SceneComponent
 
getAnnotationPaint() - Method in class de.jtem.java2d.SceneComponent
 
getAnnotations() - Method in class de.jtem.java2d.SceneComponent
 
getAntialias() - Method in class de.jtem.java2d.Viewer2D
Returns the boolean that determines whether antialiasing is turned on.
getBackdrop() - Method in class de.jtem.java2d.Viewer2D
Returns the root node of the part of the scene that contains geometry attached to the viewer window itself (like coordinate systems).
getBounds2D() - Method in class de.jtem.java2d.Viewer2D
Return the rectangle in user space enclosing the whole scene.
getButton() - Method in class de.jtem.java2d.TransformedMouseEvent
This is not the same as mouseEvent.getButton() but a version that works better on various platforms.
getChild(int) - Method in class de.jtem.java2d.SceneComponent
 
getChildCount() - Method in class de.jtem.java2d.SceneComponent
 
getCoarseGrid() - Method in class de.jtem.java2d.CoordinateGrid
Returns the scene component responsible for the coarse grid (every ten'th grid line).
getCoarseGridPaint() - Method in class de.jtem.java2d.CoordinateGrid
 
getCoarseGridStroke() - Method in class de.jtem.java2d.CoordinateGrid
 
getEncompassMarginX() - Method in class de.jtem.java2d.Viewer2D
Returns the integer that determines how many pixels on the left and right window boundary are left as as a margin when a rectangle (or the whole scene) is encompassed.
getEncompassMarginY() - Method in class de.jtem.java2d.Viewer2D
Returns the integer that determines how many pixels on the top and bottom window boundary are left as as a margin when a rectangle (or the whole scene) is encompassed.
getExportPDFAction() - Method in class de.jtem.java2d.Viewer2D
 
getFilled() - Method in class de.jtem.java2d.SceneComponent
 
getFont() - Method in class de.jtem.java2d.SceneComponent
 
getGrid() - Method in class de.jtem.java2d.Viewer2D
 
getHighlightAnnotationPaint() - Method in class de.jtem.java2d.SceneComponent
 
getHighlighted() - Method in class de.jtem.java2d.SceneComponent
 
getHighlightOutlinePaint() - Method in class de.jtem.java2d.SceneComponent
 
getHighlightPaint() - Method in class de.jtem.java2d.SceneComponent
 
getHighlightPointPaint() - Method in class de.jtem.java2d.SceneComponent
 
getHorizontalUnit() - Method in class de.jtem.java2d.CoordinateGrid
 
getIcon() - Method in class de.jtem.java2d.Icon2D
 
getIcons() - Method in class de.jtem.java2d.SceneComponent
 
getIndexOfHitPart() - Method in class de.jtem.java2d.TransformedMouseEvent
Tells which part of the component is being dragged.
getInitialViewPort() - Method in class de.jtem.java2d.Viewer2D
 
getLastPopupLocationX() - Method in class de.jtem.java2d.Viewer2D
 
getLastPopupLocationY() - Method in class de.jtem.java2d.Viewer2D
 
getMaximumLineCount() - Method in class de.jtem.java2d.CoordinateGrid
Returns the maximal number of horizontal lines both (as well as the maximal number of vertical lines).
getMenu() - Method in class de.jtem.java2d.Viewer2D
 
getMenuTool() - Method in class de.jtem.java2d.Viewer2D
Returns the DragListener that pops up the context menu.
getMenuToolEnabled() - Method in class de.jtem.java2d.Viewer2D
Returns the boolean that determines whether left mouse drag on the viewer background is hooked to scaling of the viewport.
getMouseEvent() - Method in class de.jtem.java2d.TransformedMouseEvent
A general modifier flag, could correspond to the shift key of a keyboard being pressed during this drag operation.
getName() - Method in class de.jtem.java2d.SceneComponent
 
getOutlined() - Method in class de.jtem.java2d.SceneComponent
 
getOutlinePaint() - Method in class de.jtem.java2d.SceneComponent
 
getPaint() - Method in class de.jtem.java2d.SceneComponent
 
getPointFilled() - Method in class de.jtem.java2d.SceneComponent
 
getPointOutlined() - Method in class de.jtem.java2d.SceneComponent
 
getPointPaint() - Method in class de.jtem.java2d.SceneComponent
 
getPoints() - Method in class de.jtem.java2d.SceneComponent
 
getPointShape() - Method in class de.jtem.java2d.SceneComponent
 
getPointStroke() - Method in class de.jtem.java2d.SceneComponent
 
getPropertyDescriptors() - Method in class de.jtem.java2d.CoordinateGridBeanInfo
 
getRectangle() - Method in class de.jtem.java2d.CoordinateGrid
Returns the rectangle that is filled by the grid.
getRoot() - Method in class de.jtem.java2d.Viewer2D
Returns the root of the tree of scene nodes.
getScaleTool() - Method in class de.jtem.java2d.Viewer2D
Returns the DragListener that is scales the viewport.
getScaleToolEnabled() - Method in class de.jtem.java2d.Viewer2D
Returns the boolean that determines whether left mouse drag on the viewer background is hooked to scaling of the viewport.
getShape() - Method in class de.jtem.java2d.SceneComponent
 
getSnapToGridResolution() - Method in class de.jtem.java2d.Viewer2D
 
getStroke() - Method in class de.jtem.java2d.SceneComponent
 
getText() - Method in class de.jtem.java2d.Annotation
Returns the text.
getTransform() - Method in class de.jtem.java2d.SceneComponent
 
getTranslateTool() - Method in class de.jtem.java2d.Viewer2D
Returns the DragListener that is scales the viewport.
getTranslateToolEnabled() - Method in class de.jtem.java2d.Viewer2D
Returns the boolean that determines whether left mouse drag on the viewer background is hooked to translation of the viewport.
getVerticalUnit() - Method in class de.jtem.java2d.CoordinateGrid
 
getViewport() - Method in class de.jtem.java2d.Viewer2D
Return the visible Rectangle
getViewport() - Method in class de.jtem.java2d.ViewportChangeEvent
The new viewport.
getX() - Method in class de.jtem.java2d.TransformedMouseEvent
The x-coordinate (in user space) of this event's position.
getY() - Method in class de.jtem.java2d.TransformedMouseEvent
The y-coordinate (in user space) of this event's position.

H

hashCode() - Method in class de.jtem.java2d.Annotation
 
hashCode() - Method in class de.jtem.java2d.Icon2D
 

I

Icon2D - Class in de.jtem.java2d
 
Icon2D() - Constructor for class de.jtem.java2d.Icon2D
 
Icon2D(Icon, double, double, int) - Constructor for class de.jtem.java2d.Icon2D
 
isAnnotationDragEnabled() - Method in class de.jtem.java2d.SceneComponent
 
isAreaDragEnabled() - Method in class de.jtem.java2d.SceneComponent
 
isGridEnabled() - Method in class de.jtem.java2d.Viewer2D
 
isIconDragEnabled() - Method in class de.jtem.java2d.SceneComponent
 
isKeepingAspectRatio() - Method in class de.jtem.java2d.CoordinateGrid
Whether the horizontal spacing of grid lines equals the vertical spacing (in user space).
isKeepingAspectRatio() - Method in class de.jtem.java2d.Viewer2D
 
isMouseOverEnabled() - Method in class de.jtem.java2d.SceneComponent
 
isOutlineDragEnabled() - Method in class de.jtem.java2d.SceneComponent
 
isPointDragEnabled() - Method in class de.jtem.java2d.SceneComponent
 
isSnapToGridEnabled() - Method in class de.jtem.java2d.Viewer2D
 
isVisible() - Method in class de.jtem.java2d.SceneComponent
 

M

main(String[]) - Static method in class de.jtem.java2d.Icon2D
 
mouseEnter(TransformedMouseEvent) - Method in interface de.jtem.java2d.MouseOverListener
The mouse has entered.
mouseEnter(TransformedMouseEvent) - Method in class de.jtem.java2d.SceneComponent
 
mouseLeave(TransformedMouseEvent) - Method in interface de.jtem.java2d.MouseOverListener
The mouse has left.
mouseLeave(TransformedMouseEvent) - Method in class de.jtem.java2d.SceneComponent
 
MouseOverListener - Interface in de.jtem.java2d
The listener interface for receiving events when the mouse (or some other pointing device) has entered some part of a SceneComponenty.

N

NORTH - Static variable in class de.jtem.java2d.Annotation
The anchor point is in the center of the top edge of the bounding box of the text.
NORTHEAST - Static variable in class de.jtem.java2d.Annotation
The anchor point is at the upper right corner of the bounding box of the text.
NORTHWEST - Static variable in class de.jtem.java2d.Annotation
The anchor point is at the upper left corner of the bounding box of the text.

P

paintComponent(Graphics) - Method in class de.jtem.java2d.Viewer2D
Requires g to be of type java.awt.Graphics2D.

R

removeAllChildren() - Method in class de.jtem.java2d.SceneComponent
 
removeAppearanceChangeListener(AppearanceChangeListener) - Method in class de.jtem.java2d.SceneComponent
 
removeChild(SceneComponent) - Method in class de.jtem.java2d.SceneComponent
Removes a child node.
removeDragListener(DragListener) - Method in class de.jtem.java2d.SceneComponent
Remove l from the list of listeners that are notified when this node is component.
removeDragListener(DragListener) - Method in class de.jtem.java2d.Viewer2D
Removes l from the list of listeners that are notified of drag events on the viewer background.
removeMouseOverListener(MouseOverListener) - Method in class de.jtem.java2d.SceneComponent
Remove l from the list of listeners that are notified when this mouse is over this component.
removeViewportChangeListener(ViewportChangeListener) - Method in class de.jtem.java2d.Viewer2D
Removes l from the list of listeners that are notified when the viewport changes.

S

SceneComponent - Class in de.jtem.java2d
An implementation of the SceneNode interface that provides bean conform "get" and "set" methods for all properties.
SceneComponent() - Constructor for class de.jtem.java2d.SceneComponent
Creates a SceneComponent with all properties that are objects set to null.
SceneComponent(SceneComponent) - Constructor for class de.jtem.java2d.SceneComponent
 
setAnchor(int) - Method in class de.jtem.java2d.Annotation
Sets the direction where the text should be drawn relative to the point given by its coordinates.
setAnchor(int) - Method in class de.jtem.java2d.Icon2D
 
setAnnotated(Boolean) - Method in class de.jtem.java2d.SceneComponent
Sets the Boolean that tells whether the textual annotation of this node should be drawn.
setAnnotationDragEnabled(boolean) - Method in class de.jtem.java2d.SceneComponent
 
setAnnotationMargin(Integer) - Method in class de.jtem.java2d.SceneComponent
Sets the amount (in screen space) by which the text of the annotation is shifted up and to the right relative to points inducated by the annotation.
setAnnotationPaint(Paint) - Method in class de.jtem.java2d.SceneComponent
Sets the paint to be used for drawing the text of the annotation.
setAntialias(boolean) - Method in class de.jtem.java2d.Viewer2D
Sets the boolean that determines whether antialiasing is turned on.
setAreaDragEnabled(boolean) - Method in class de.jtem.java2d.SceneComponent
Determine whether the shape of this node takes part in picking.
setCoarseGridPaint(Paint) - Method in class de.jtem.java2d.CoordinateGrid
 
setCoarseGridStroke(Stroke) - Method in class de.jtem.java2d.CoordinateGrid
 
setEncompassMarginX(int) - Method in class de.jtem.java2d.Viewer2D
Sets the integer that determines how many pixels on the left and right window boundary are left as as a margin when a rectangle (or the whole scene) is encompassed.
setEncompassMarginY(int) - Method in class de.jtem.java2d.Viewer2D
Sets the integer that determines how many pixels on the top and bottom window boundary are left as as a margin when a rectangle (or the whole scene) is encompassed.
setFilled(Boolean) - Method in class de.jtem.java2d.SceneComponent
Sets the Boolean that tells whether the shape of this node should be filled.
setFont(Font) - Method in class de.jtem.java2d.SceneComponent
Sets the stroke to be used for drawing the outline of the points of this node.
setGridEnabled(boolean) - Method in class de.jtem.java2d.Viewer2D
 
setHighlightAnnotationPaint(Paint) - Method in class de.jtem.java2d.SceneComponent
 
setHighlighted(Boolean) - Method in class de.jtem.java2d.SceneComponent
 
setHighlightOutlinePaint(Paint) - Method in class de.jtem.java2d.SceneComponent
 
setHighlightPaint(Paint) - Method in class de.jtem.java2d.SceneComponent
 
setHighlightPointPaint(Paint) - Method in class de.jtem.java2d.SceneComponent
 
setHorizontalUnit(String) - Method in class de.jtem.java2d.CoordinateGrid
 
setIcon(Icon) - Method in class de.jtem.java2d.Icon2D
 
setIconDragEnabled(boolean) - Method in class de.jtem.java2d.SceneComponent
 
setInitialViewPort(Rectangle2D.Double) - Method in class de.jtem.java2d.Viewer2D
 
setKeepingAspectRatio(boolean) - Method in class de.jtem.java2d.CoordinateGrid
Sets the boolean that determines whether the horizontal spacing of grid lines equals the vertical spacing (in user space).
setKeepingAspectRatio(boolean) - Method in class de.jtem.java2d.Viewer2D
 
setMaximumLineCount(int) - Method in class de.jtem.java2d.CoordinateGrid
Sets the maximal number of horizontal lines both (as well as the maximal number of vertical lines).
setMenuToolEnabled(boolean) - Method in class de.jtem.java2d.Viewer2D
Determines whether right click on the viewer background is hooked to showing the context menu and setting lastPopupLocationX, lastPopupLocationY.
setMouseOverEnabled(boolean) - Method in class de.jtem.java2d.SceneComponent
 
setName(String) - Method in class de.jtem.java2d.SceneComponent
 
setOutlined(Boolean) - Method in class de.jtem.java2d.SceneComponent
Sets the Boolean that tells whether the outline of this node's shape should be drawn.
setOutlineDragEnabled(boolean) - Method in class de.jtem.java2d.SceneComponent
Determine whether the outline of this node's shape takes part in picking.
setOutlinePaint(Paint) - Method in class de.jtem.java2d.SceneComponent
Sets the paint to be used for drawing the outline of the shape or of the point set.
setPaint(Paint) - Method in class de.jtem.java2d.SceneComponent
Sets the paint to be used for filling the shape.
setPointDragEnabled(boolean) - Method in class de.jtem.java2d.SceneComponent
Tells whether the points of this node (or rather the shapes created by this node's stamp) take part in picking.
setPointFilled(Boolean) - Method in class de.jtem.java2d.SceneComponent
Sets the Boolean that tells whether the points of this node should be filled.
setPointOutlined(Boolean) - Method in class de.jtem.java2d.SceneComponent
Sets the Boolean that tells whether the outline of the points of this node should be drawn.
setPointPaint(Paint) - Method in class de.jtem.java2d.SceneComponent
Sets the paint to be used for filling the points.
setPointShape(Shape) - Method in class de.jtem.java2d.SceneComponent
Sets the stamp to be used for creating a shape for each point in the point set.
setPointStroke(Stroke) - Method in class de.jtem.java2d.SceneComponent
Sets the stroke to be used for drawing the outline of the points of this node.
setRectangle(Rectangle2D.Double) - Method in class de.jtem.java2d.CoordinateGrid
Sets the rectangle that is filled by the grid.
setScaleToolEnabled(boolean) - Method in class de.jtem.java2d.Viewer2D
Determines whether left mouse drag on the viewer background is hooked to scaling of the viewport.
setShape(Shape) - Method in class de.jtem.java2d.SceneComponent
Sets the shape of this node.
setSnapToGridEnabled(boolean) - Method in class de.jtem.java2d.Viewer2D
 
setSnapToGridResolution(int) - Method in class de.jtem.java2d.Viewer2D
 
setStroke(Stroke) - Method in class de.jtem.java2d.SceneComponent
Sets the stroke to be used for drawing the outline of the shape.
setText(String) - Method in class de.jtem.java2d.Annotation
Sets the text.
setTransform(AffineTransform) - Method in class de.jtem.java2d.SceneComponent
Sets the affine transformation of this node (mapping coordinates in the parent node to this node's own coordinates).
setTranslateToolEnabled(boolean) - Method in class de.jtem.java2d.Viewer2D
Determines whether left mouse drag on the viewer background is hooked to translation of the viewport.
setVerticalUnit(String) - Method in class de.jtem.java2d.CoordinateGrid
 
setVisible(boolean) - Method in class de.jtem.java2d.SceneComponent
 
setX(double) - Method in class de.jtem.java2d.Annotation
 
setX(double) - Method in class de.jtem.java2d.Icon2D
 
setY(double) - Method in class de.jtem.java2d.Annotation
 
setY(double) - Method in class de.jtem.java2d.Icon2D
 
SOUTH - Static variable in class de.jtem.java2d.Annotation
The anchor point is in the center of the bottom edge of the bounding box of the text.
SOUTHEAST - Static variable in class de.jtem.java2d.Annotation
The anchor point is at the lower right corner of the bounding box of the text.
SOUTHWEST - Static variable in class de.jtem.java2d.Annotation
The anchor point is at the lower left corner of the bounding box of the text.

T

TransformedMouseEvent - Class in de.jtem.java2d
The event that signals that some scene node is being dragged.
TransformedMouseEvent(Object, MouseEvent, int, double, double) - Constructor for class de.jtem.java2d.TransformedMouseEvent
 

V

Viewer2D - Class in de.jtem.java2d
This is a basic viewer for the 2D-scenes in this package.
Viewer2D() - Constructor for class de.jtem.java2d.Viewer2D
 
Viewer2D(Rectangle2D.Double) - Constructor for class de.jtem.java2d.Viewer2D
encompassPolicy determines when the viewer will adjust its viewport to encompass the whole scene.
viewportChange(ViewportChangeEvent) - Method in interface de.jtem.java2d.ViewportChangeListener
Take notice that the viewport of some viewer has changed.
ViewportChangeEvent - Class in de.jtem.java2d
The event that signals that the viewport of some viewer watching the scene has changed.
ViewportChangeEvent(Object, Rectangle2D.Double) - Constructor for class de.jtem.java2d.ViewportChangeEvent
Creates a viewport cange event with a given source and a given viewport.
ViewportChangeListener - Interface in de.jtem.java2d
The listener interface for receiving viewportChange events.

W

WEST - Static variable in class de.jtem.java2d.Annotation
The anchor point is in the center of the left edge of the bounding box of the text.
A C D E F G H I M N P R S T V W 

jTEM