A B C D E F G H I J L M O P Q R S T U

A

AbstractDrawRect - class org.jdrawing.graphics.AbstractDrawRect.
Base class for drawing operations, which outlines the rectangle.
AbstractDrawRect(int, int, int, int) - Constructor for class org.jdrawing.graphics.AbstractDrawRect
Returns AbstractDrawRect with given rectangle.
AbstractDrawRect(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.AbstractDrawRect
Returns AbstractDrawRect with given rectangle.
AbstractDrawingModel - class org.jdrawing.AbstractDrawingModel.
This abstract class provides default implementations for most of the methods in the DrawingModel interface.
AbstractDrawingModel() - Constructor for class org.jdrawing.AbstractDrawingModel
 
AbstractDrawingModelCache - class org.jdrawing.AbstractDrawingModelCache.
This abstract class provides default implementations for most of the methods in the DrawingModelCache interface.
AbstractDrawingModelCache() - Constructor for class org.jdrawing.AbstractDrawingModelCache
 
AbstractFillRect - class org.jdrawing.graphics.AbstractFillRect.
Base class for drawing operations that fill the rectangle.
AbstractFillRect(int, int, int, int) - Constructor for class org.jdrawing.graphics.AbstractFillRect
Returns AbstractFillRect with given rectangle.
AbstractFillRect(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.AbstractFillRect
Returns AbstractFillRect with given rectangle.
addDrawingModelCacheListener(DrawingModelCacheListener) - Method in class org.jdrawing.AbstractDrawingModelCache
Adds a listener which will be notified about changes in this model cache.
addDrawingModelCacheListener(DrawingModelCacheListener) - Method in interface org.jdrawing.DrawingModelCache
Adds a listener which will be notified about changes in this model cache.
addDrawingModelListener(DrawingModelListener) - Method in class org.jdrawing.AbstractDrawingModel
Adds a listener which will be notified about changes in this model.
addDrawingModelListener(DrawingModelListener) - Method in interface org.jdrawing.DrawingModel
Adds a listener which will be notified about changes in this model.
addElement(Object) - Method in class org.jdrawing.DefaultDrawingModel
Adds new element to the model.
addElement(Object) - Method in class org.jdrawing.LayeredDrawingModel
Adds new element to the model at layer zero.
addElement(Object, int) - Method in class org.jdrawing.LayeredDrawingModel
Adds new element to the model at given layer.
addElements(Object[]) - Method in class org.jdrawing.DefaultDrawingModel
Adds several elements to the model.
addOperation(GraphicsOperation) - Method in class org.jdrawing.graphics.GraphicsModel
Appends GraphicsOperation object to the end of painting sequence of the model.
addOperationAt(GraphicsOperation, int) - Method in class org.jdrawing.graphics.GraphicsModel
Inserts GraphicsOperation object to the painting sequence of the model model at specified position.
addRenderingHints(Map) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets the values of an arbitrary number of preferences for the rendering algorithms.
areaChanged(DrawingModelCacheEvent) - Method in class org.jdrawing.JDrawing
Invoked after some area of the drawing has changed in some way.
areaChanged(DrawingModelCacheEvent) - Method in interface org.jdrawing.event.DrawingModelCacheListener
Invoked after some area of the drawing has changed in some way.

B

BACKGROUND - Static variable in class org.jdrawing.graphics.Style
Key for background attribute.

C

CLIP - Static variable in class org.jdrawing.graphics.Style
Key for rendering clip attribute.
COMPOSITE - Static variable in class org.jdrawing.graphics.Style
Key for composite attribute.
ClearRect - class org.jdrawing.graphics.ClearRect.
Graphics element which corresponds to Graphics.clearRect(int, int, int, int)
ClearRect(int, int, int, int) - Constructor for class org.jdrawing.graphics.ClearRect
Returns ClearRect with given rectangle and default style.
ClearRect(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.ClearRect
Returns ClearRect with given rectangle and style.
CompoundDrawingElement - interface org.jdrawing.CompoundDrawingElement.
Interface for drawing elements which consist of several subelements.
clear() - Method in class org.jdrawing.graphics.GraphicsModel
Removes all elements from the model
clearRect(int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Clears the specified rectangle by filling it with the background color of the current drawing surface.
clip(Shape) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Intersects the current Clip with the interior of the specified Shape and sets the Clip to the resulting intersection.
clipRect(int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Intersects the current clip with the specified rectangle.
contains(Point2D) - Method in interface org.jdrawing.DrawingElement
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.AbstractDrawRect
Tests if the element contains a given point.
contains(Point2D) - Method in class org.jdrawing.graphics.GraphicsOperation
Tests if the element contains a given point.
copyArea(int, int, int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
create() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Creates a new Graphics object that is a copy of this Graphics object.
createDefaultElementRenderer() - Method in class org.jdrawing.JDrawing
Returns the default drawing element renderer object, which can render instances of the following classes: Shape, Component, DrawingElement and CompoundDrawingElement.
createDefaultModel() - Method in class org.jdrawing.JDrawing
Returns the default drawing model object, which is a DefaultDrawingModel.
createDefaultModelCache() - Method in class org.jdrawing.JDrawing
Returns the default drawing model cache object, which is a DefaultDrawingModelCache.
createStrokedShape(Shape) - Method in class org.jdrawing.graphics.Style
Returns an outline Shape which encloses the area that should be painted when the Shape is stroked according to the stroke attribute.

D

DefaultDrawingModel - class org.jdrawing.DefaultDrawingModel.
This is default implementation of DrawingModel interface.
DefaultDrawingModel() - Constructor for class org.jdrawing.DefaultDrawingModel
 
DefaultDrawingModelCache - class org.jdrawing.DefaultDrawingModelCache.
Default implementation of DrawingModelCache interface.
DefaultDrawingModelCache() - Constructor for class org.jdrawing.DefaultDrawingModelCache
 
Draw - class org.jdrawing.graphics.Draw.
Graphics element which corresponds to Graphics2D.draw(java.awt.Shape)
Draw(Shape) - Constructor for class org.jdrawing.graphics.Draw
Returns Draw with given shape.
Draw(Shape, Style) - Constructor for class org.jdrawing.graphics.Draw
Returns Draw with given shape.
Draw3DRect - class org.jdrawing.graphics.Draw3DRect.
Graphics element which corresponds to Graphics.draw3DRect(int, int, int, int, boolean)
Draw3DRect(int, int, int, int, boolean) - Constructor for class org.jdrawing.graphics.Draw3DRect
Returns Draw3DRect with given rectangle.
Draw3DRect(int, int, int, int, boolean, Style) - Constructor for class org.jdrawing.graphics.Draw3DRect
Returns Draw3DRect with given rectangle.
DrawImage - class org.jdrawing.graphics.DrawImage.
Graphics element which corresponds to Graphics.drawImage(Image, int, int, ImageObserver).
DrawImage(Image, int, int, ImageObserver) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, ImageObserver, Style) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, Color, ImageObserver) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, Color, ImageObserver, Style) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, int, int, ImageObserver) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, int, int, ImageObserver, Style) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, int, int, Color, ImageObserver) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, int, int, Color, ImageObserver, Style) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, int, int, int, int, int, int, ImageObserver, Style) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver, Style) - Constructor for class org.jdrawing.graphics.DrawImage
Returns Fill with given image at given location.
DrawLine - class org.jdrawing.graphics.DrawLine.
Graphics element which corresponds to Graphics.drawLine(int, int, int, int)
DrawLine(int, int, int, int) - Constructor for class org.jdrawing.graphics.DrawLine
Returns DrawLine for line starting at (x1, y1) and ending at (x2, y2).
DrawLine(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.DrawLine
Returns DrawLine for line starting at (x1, y1) and ending at (x2, y2).
DrawOval - class org.jdrawing.graphics.DrawOval.
Graphics element which corresponds to Graphics.drawOval(int, int, int, int)
DrawOval(int, int, int, int) - Constructor for class org.jdrawing.graphics.DrawOval
Returns DrawOval which fits into specified rectangle.
DrawOval(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.DrawOval
Returns DrawOval which fits into specified rectangle.
DrawPolygon - class org.jdrawing.graphics.DrawPolygon.
Graphics element which corresponds to Graphics.drawPolygon(Polygon)
DrawPolygon(Polygon) - Constructor for class org.jdrawing.graphics.DrawPolygon
Returns DrawPolygon with given polygon.
DrawPolygon(Polygon, Style) - Constructor for class org.jdrawing.graphics.DrawPolygon
Returns DrawPolygon with given polygon.
DrawRect - class org.jdrawing.graphics.DrawRect.
Graphics element which corresponds to Graphics.drawRect(int, int, int, int)
DrawRect(int, int, int, int) - Constructor for class org.jdrawing.graphics.DrawRect
Returns DrawRect with given rectangle.
DrawRect(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.DrawRect
Returns DrawRect with given rectangle.
DrawString - class org.jdrawing.graphics.DrawString.
Graphics element which corresponds to Graphics.drawString(String, int, int)
DrawString(String, float, float) - Constructor for class org.jdrawing.graphics.DrawString
Returns DrawString for specified text at specified location.
DrawString(String, float, float, Style) - Constructor for class org.jdrawing.graphics.DrawString
Returns DrawString for specified text at specified location.
DrawingElement - interface org.jdrawing.DrawingElement.
Interface for self-renderable drawing elements.
DrawingElementRenderer - interface org.jdrawing.DrawingElementRenderer.
Defines the requirements for an object that displays a drawing element.
DrawingModel - interface org.jdrawing.DrawingModel.
The interface that defines a suitable data model for a JDrawing.
DrawingModelCache - interface org.jdrawing.DrawingModelCache.
The interface that defines a model cache for JDrawing.
DrawingModelCacheEvent - class org.jdrawing.event.DrawingModelCacheEvent.
Encapsulates information describing changes to a drawing model cache, and used to notify drawing model cache listeners of the changes.
DrawingModelCacheEvent(Object) - Constructor for class org.jdrawing.event.DrawingModelCacheEvent
Used to create an event when the drawing has changed in some way.
DrawingModelCacheEvent(Object, Rectangle) - Constructor for class org.jdrawing.event.DrawingModelCacheEvent
Used to create an event when some area of the drawing has changed in some way.
DrawingModelCacheListener - interface org.jdrawing.event.DrawingModelCacheListener.
Defines the interface for an object that listens to changes in a DrawingModelCache.
DrawingModelEvent - class org.jdrawing.event.DrawingModelEvent.
Encapsulates information describing changes to a drawing model, and used to notify drawing model listeners of the changes.
DrawingModelEvent(Object) - Constructor for class org.jdrawing.event.DrawingModelEvent
Used to create an event when the model has changed in some way.
DrawingModelEvent(Object, Object[]) - Constructor for class org.jdrawing.event.DrawingModelEvent
Used to create an event when some elements of the model have been changed, inserted or removed.
DrawingModelListener - interface org.jdrawing.event.DrawingModelListener.
Defines the interface for an object that listens to changes in a DrawingModel.
deriveStyle(Map) - Method in class org.jdrawing.graphics.Style
Creates a new Style object by replicating the current Style object and applying a new set of style attributes to it.
dispose() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Disposes of this graphics context and releases any system resources that it is using.
draw(Shape) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Strokes the outline of a Shape using the settings of the current Graphics2D context.
draw3DRect(int, int, int, int, boolean) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws a 3-D highlighted outline of the specified rectangle.
drawArc(int, int, int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
drawGlyphVector(GlyphVector, float, float) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Renders the text of the specified GlyphVector using the Graphics2D context's rendering attributes.
drawImage(BufferedImage, BufferedImageOp, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Renders a BufferedImage that is filtered with a BufferedImageOp.
drawImage(Image, AffineTransform, ImageObserver) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Renders an image, applying a transform from image space into user space before drawing.
drawImage(Image, int, int, int, int, int, int, int, int, ImageObserver) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
drawImage(Image, int, int, int, int, ImageObserver) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
drawImage(Image, int, int, ImageObserver) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws as much of the specified image as is currently available.
drawImage(Image, int, int, int, int, int, int, int, int, Color, ImageObserver) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws as much of the specified area of the specified image as is currently available, scaling it on the fly to fit inside the specified area of the destination drawable surface.
drawImage(Image, int, int, int, int, Color, ImageObserver) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws as much of the specified image as has already been scaled to fit inside the specified rectangle.
drawImage(Image, int, int, Color, ImageObserver) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws as much of the specified image as is currently available.
drawLine(int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws a line, using the current color, between the points (x1, y1) and (x2, y2) in this graphics context's coordinate system.
drawOval(int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws the outline of an oval.
drawPolygon(int[], int[], int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws a closed polygon defined by arrays of x and y coordinates.
drawPolygon(Polygon) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws the outline of a polygon defined by the specified Polygon object.
drawPolyline(int[], int[], int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws a sequence of connected lines defined by arrays of x and y coordinates.
drawRect(int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Draws the outline of the specified rectangle.
drawRenderableImage(RenderableImage, AffineTransform) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
drawRenderedImage(RenderedImage, AffineTransform) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
drawRoundRect(int, int, int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
drawString(String, float, float) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Renders the text specified by the specified String, using the current text attribute state in the Graphics2D context.
drawString(String, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Renders the text of the specified String, using the current text attribute state in the Graphics2D context.
drawString(AttributedCharacterIterator, float, float) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
drawString(AttributedCharacterIterator, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
drawingChanged(DrawingModelCacheEvent) - Method in class org.jdrawing.JDrawing
Invoked after the drawing has changed in some way.
drawingChanged(DrawingModelCacheEvent) - Method in interface org.jdrawing.event.DrawingModelCacheListener
Invoked after the drawing has changed in some way.

E

elementContains(Object, Point2D) - Method in interface org.jdrawing.DrawingElementRenderer
Tests if the given element contains the given point.
elementContains(Object, Point2D) - Method in class org.jdrawing.TransformingDrawingElementRenderer
Tests if the given element contains the given point.
elementIntersects(Object, Rectangle2D) - Method in interface org.jdrawing.DrawingElementRenderer
Tests if the given element intersects with the given rectangle.
elementIntersects(Object, Rectangle2D) - Method in class org.jdrawing.TransformingDrawingElementRenderer
Tests if the given element intersects with the given rectangle.
elements() - Method in interface org.jdrawing.CompoundDrawingElement
Returns an enumeration of subelements of the compound element.
elements() - Method in class org.jdrawing.DefaultDrawingModel
Returns an enumeration of the elements of this model.
elements() - Method in interface org.jdrawing.DrawingModel
Returns an enumeration of the elements of this model.
elements() - Method in class org.jdrawing.LayeredDrawingModel
Returns an enumeration of the elements of this model.
elements() - Method in class org.jdrawing.graphics.GraphicsModel
Returns an enumeration of the elements of this model.
elementsAdded(DrawingModelEvent) - Method in class org.jdrawing.AbstractDrawingModelCache
Invoked after elements have been inserted into the model.
elementsAdded(DrawingModelEvent) - Method in class org.jdrawing.DefaultDrawingModelCache
Invoked after elements have been inserted into the model.
elementsAdded(DrawingModelEvent) - Method in class org.jdrawing.GridDrawingModelCache
Invoked after elements have been inserted into the model.
elementsAdded(DrawingModelEvent) - Method in class org.jdrawing.QuadTreeDrawingModelCache
Invoked after elements have been inserted into the model.
elementsAdded(DrawingModelEvent) - Method in interface org.jdrawing.event.DrawingModelListener
Invoked after elements have been inserted into the model.
elementsChanged(DrawingModelEvent) - Method in class org.jdrawing.AbstractDrawingModelCache
Invoked after elements have been changed in some way.
elementsChanged(DrawingModelEvent) - Method in class org.jdrawing.DefaultDrawingModelCache
Invoked after elements have been changed in some way.
elementsChanged(DrawingModelEvent) - Method in class org.jdrawing.GridDrawingModelCache
Invoked after elements have been changed in some way.
elementsChanged(DrawingModelEvent) - Method in class org.jdrawing.QuadTreeDrawingModelCache
Invoked after elements have been changed in some way.
elementsChanged(DrawingModelEvent) - Method in interface org.jdrawing.event.DrawingModelListener
Invoked after elements have been changed in some way.
elementsRemoved(DrawingModelEvent) - Method in class org.jdrawing.AbstractDrawingModelCache
Invoked after elements have been removed from the model.
elementsRemoved(DrawingModelEvent) - Method in class org.jdrawing.DefaultDrawingModelCache
Invoked after elements have been removed from the model.
elementsRemoved(DrawingModelEvent) - Method in class org.jdrawing.GridDrawingModelCache
Invoked after elements have been removed from the model.
elementsRemoved(DrawingModelEvent) - Method in class org.jdrawing.QuadTreeDrawingModelCache
Invoked after elements have been removed from the model.
elementsRemoved(DrawingModelEvent) - Method in interface org.jdrawing.event.DrawingModelListener
Invoked after elements have been removed from the model.
equals(Object) - Method in class org.jdrawing.graphics.Style
Checks whether two styles are equal.

F

FONT - Static variable in class org.jdrawing.graphics.Style
Key for font attribute.
Fill - class org.jdrawing.graphics.Fill.
Graphics element which corresponds to Graphics2D.fill(java.awt.Shape)
Fill(Shape) - Constructor for class org.jdrawing.graphics.Fill
Returns Fill with given shape.
Fill(Shape, Style) - Constructor for class org.jdrawing.graphics.Fill
Returns Fill with given shape.
Fill3DRect - class org.jdrawing.graphics.Fill3DRect.
Graphics element which corresponds to Graphics.fill3DRect(int, int, int, int, boolean)
Fill3DRect(int, int, int, int, boolean) - Constructor for class org.jdrawing.graphics.Fill3DRect
Returns Fill3DRect with given rectangle.
Fill3DRect(int, int, int, int, boolean, Style) - Constructor for class org.jdrawing.graphics.Fill3DRect
Returns Fill3DRect with given rectangle.
FillOval - class org.jdrawing.graphics.FillOval.
Graphics element which corresponds to Graphics.fillOval(int, int, int, int)
FillOval(int, int, int, int) - Constructor for class org.jdrawing.graphics.FillOval
Returns DrawOval which fits into specified rectangle.
FillOval(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.FillOval
Returns DrawOval which fits into specified rectangle.
FillPolygon - class org.jdrawing.graphics.FillPolygon.
Graphics element which corresponds to Graphics.fillPolygon(Polygon)
FillPolygon(Polygon) - Constructor for class org.jdrawing.graphics.FillPolygon
Returns DrawPolygon with given polygon.
FillPolygon(Polygon, Style) - Constructor for class org.jdrawing.graphics.FillPolygon
Returns DrawPolygon with given polygon.
FillRect - class org.jdrawing.graphics.FillRect.
Graphics element which corresponds to Graphics.fillRect(int, int, int, int)
FillRect(int, int, int, int) - Constructor for class org.jdrawing.graphics.FillRect
Returns FillRect with given rectangle.
FillRect(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.FillRect
Returns FillRect with given rectangle.
fill(Shape) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Fills the interior of a Shape using the settings of the Graphics2D context.
fill3DRect(int, int, int, int, boolean) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Paints a 3-D highlighted rectangle filled with the current color.
fillArc(int, int, int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
fillOval(int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Fills an oval bounded by the specified rectangle with the current color.
fillPolygon(int[], int[], int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Fills a closed polygon defined by arrays of x and y coordinates.
fillPolygon(Polygon) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Fills the polygon defined by the specified Polygon object with the graphics context's current color.
fillRect(int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Fills the specified rectangle.
fillRoundRect(int, int, int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
fireAreaChanged(Rectangle) - Method in class org.jdrawing.AbstractDrawingModelCache
Notifies all listeners that the area has changed in some way.
fireDrawingChanged() - Method in class org.jdrawing.AbstractDrawingModelCache
Notifies all listeners that the drawing has changed in some way.
fireElementsAdded(Object[]) - Method in class org.jdrawing.AbstractDrawingModel
Notifies all listeners that elements have been inserted.
fireElementsChanged(Object[]) - Method in class org.jdrawing.AbstractDrawingModel
Notifies all listeners that elements have been changed.
fireElementsRemoved(Object[]) - Method in class org.jdrawing.AbstractDrawingModel
Notifies all listeners that elements have been removed.
fireModelChanged() - Method in class org.jdrawing.AbstractDrawingModel
Notifies all listeners that the model has changed.

G

GraphicsModel - class org.jdrawing.graphics.GraphicsModel.
The implementation of DrawingModel interface that stores a sequence of graphics operations.
GraphicsModel() - Constructor for class org.jdrawing.graphics.GraphicsModel
 
GraphicsModelBuilder - class org.jdrawing.graphics.GraphicsModelBuilder.
Builds GraphicsModel using drawing operations of Graphics2D.
GraphicsModelBuilder(Rectangle) - Constructor for class org.jdrawing.graphics.GraphicsModelBuilder
Constructs a new GraphicsModelBuilder object with empty GraphicsModel.
GraphicsModelBuilder(GraphicsModel, Rectangle) - Constructor for class org.jdrawing.graphics.GraphicsModelBuilder
Constructs a new GraphicsModelBuilder object with specified GraphicsModel.
GraphicsOperation - class org.jdrawing.graphics.GraphicsOperation.
This is the base class for all elements, representing drawing operations.
GraphicsOperation() - Constructor for class org.jdrawing.graphics.GraphicsOperation
Constructs GraphicsOperation with default style.
GraphicsOperation(Style) - Constructor for class org.jdrawing.graphics.GraphicsOperation
Constructs GraphicsOperation with given style.
GridDrawingModelCache - class org.jdrawing.GridDrawingModelCache.
This implementation of DrawingModelCache optimizes drawing operations by splitting all the drawing area into rectangular cells and caching elements intersecting each cell.
GridDrawingModelCache() - Constructor for class org.jdrawing.GridDrawingModelCache
 
getArea() - Method in class org.jdrawing.event.DrawingModelCacheEvent
Returns the rectangular bounds of the changed area.
getBackground() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Returns the background color used for clearing a region.
getBackground() - Method in class org.jdrawing.graphics.Style
Returns the value of the background attribute of this style.
getBounds() - Method in interface org.jdrawing.DrawingElement
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.AbstractDrawRect
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.DrawLine
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.DrawOval
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.FillOval
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.GraphicsOperation
Returns bounding box of the element.
getBounds2D() - Method in interface org.jdrawing.DrawingElement
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.AbstractDrawRect
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.DrawLine
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.DrawOval
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.FillOval
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.GraphicsOperation
Returns high precision bounding box of the element.
getCellSize() - Method in class org.jdrawing.GridDrawingModelCache
Return size of cells used by this cache.
getClip() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Gets the current clipping area.
getClip() - Method in class org.jdrawing.graphics.Style
Returns the value of the clip attribute of this style.
getClipBounds() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Returns the bounding rectangle of the current clipping area.
getColor() - Method in class org.jdrawing.graphics.DrawImage
Returns background color of the image.
getColor() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Gets this graphics context's current color.
getComposite() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Returns the current Composite in the Graphics2D context.
getComposite() - Method in class org.jdrawing.graphics.Style
Returns the value of the composite attribute of this style.
getCoords() - Method in class org.jdrawing.graphics.DrawImage
Returns coordinates of the image.
getDefaultStyle() - Static method in class org.jdrawing.graphics.Style
Returns the shared instance of style with defaults for all attributes.
getDeviceConfiguration() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
getDrawingModelCacheListeners() - Method in class org.jdrawing.AbstractDrawingModelCache
Returns an array of all the drawing model cache listeners registered on this model cache.
getDrawingModelListeners() - Method in class org.jdrawing.AbstractDrawingModel
Returns an array of all the drawing model listeners registered on this model.
getElementBounds(Object) - Method in interface org.jdrawing.DrawingElementRenderer
Gets the bounding box for the element.
getElementBounds(Object) - Method in class org.jdrawing.TransformingDrawingElementRenderer
Gets the bounding box for the element.
getElementBounds2D(Object) - Method in interface org.jdrawing.DrawingElementRenderer
Return the high precision bounding box of the element.
getElementBounds2D(Object) - Method in class org.jdrawing.TransformingDrawingElementRenderer
Return the high precision bounding box of the element.
getElementLayer(Object) - Method in class org.jdrawing.LayeredDrawingModel
Returns current layer of the element.
getElementRenderer() - Method in class org.jdrawing.AbstractDrawingModelCache
Returns the DrawingElementRenderer that is used by this cache.
getElementRenderer() - Method in class org.jdrawing.JDrawing
Returns the current DrawingElementRenderer that is rendering each element.
getElements() - Method in class org.jdrawing.event.DrawingModelEvent
Returns the elements.
getElementsForPoint(Point2D) - Method in class org.jdrawing.DefaultDrawingModelCache
Returns elements which contains a given point.
getElementsForPoint(Point2D) - Method in interface org.jdrawing.DrawingModelCache
Returns elements which contain a given point.
getElementsForPoint(Point2D) - Method in class org.jdrawing.GridDrawingModelCache
Returns elements which contain a given point.
getElementsForPoint(Point2D) - Method in class org.jdrawing.QuadTreeDrawingModelCache
Returns elements which contain a given point.
getElementsForRectangle(Rectangle2D) - Method in class org.jdrawing.DefaultDrawingModelCache
Returns elements neccessary for repainting given area.
getElementsForRectangle(Rectangle2D) - Method in interface org.jdrawing.DrawingModelCache
Returns elements neccessary for repainting given area.
getElementsForRectangle(Rectangle2D) - Method in class org.jdrawing.GridDrawingModelCache
Returns elements necessary for repainting a given area.
getElementsForRectangle(Rectangle2D) - Method in class org.jdrawing.QuadTreeDrawingModelCache
Returns elements necessary for repainting a given area.
getFont() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Gets the current font.
getFont() - Method in class org.jdrawing.graphics.Style
Returns the value of the font attribute of this style.
getFontMetrics(Font) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Gets the font metrics for the specified font.
getFontRenderContext() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Get the rendering context of the Font within this Graphics2D context.
getGraphicsModel() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Return GraphicsModel used by this GraphicsModelBuilder.
getHeight() - Method in class org.jdrawing.graphics.RectangleOperation
Returns the height of the rectangle
getImage() - Method in class org.jdrawing.graphics.DrawImage
Gets image to be drawn.
getModel() - Method in class org.jdrawing.AbstractDrawingModelCache
Returns the DrawingModel that is cached by this cache.
getModel() - Method in class org.jdrawing.JDrawing
Returns the DrawingModel that is providing the data.
getModelBounds() - Method in class org.jdrawing.AbstractDrawingModelCache
Returns the bounding box of all elements of the model.
getModelBounds() - Method in interface org.jdrawing.DrawingModelCache
Returns the bounding box of all elements of the model.
getModelBounds2D() - Method in class org.jdrawing.DefaultDrawingModelCache
Returns the high precision bounding box of all elements of the model.
getModelBounds2D() - Method in interface org.jdrawing.DrawingModelCache
Returns the high precision bounding box of all elements of the model.
getModelBounds2D() - Method in class org.jdrawing.GridDrawingModelCache
Returns the high precision bounding box of all elements of the model.
getModelBounds2D() - Method in class org.jdrawing.QuadTreeDrawingModelCache
Returns the high precision bounding box of all elements of the model.
getModelCache() - Method in class org.jdrawing.JDrawing
Returns the DrawingModelCache that is optimizing redrawing.
getObserver() - Method in class org.jdrawing.graphics.DrawImage
Returns the ImageObserver used by this operation.
getOperationAt(int) - Method in class org.jdrawing.graphics.GraphicsModel
Returns GraphicsOperation located at specified position in the painting sequence of the model.
getOrigin() - Method in class org.jdrawing.JDrawing
Returns the coordination of origin point of the drawing into client coordinate space.
getPaint() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Returns the current Paint of the Graphics2D context.
getPaint() - Method in class org.jdrawing.graphics.Style
Returns the value of the paint attribute of this style.
getPolygon() - Method in class org.jdrawing.graphics.PolygonOperation
Returns polygon currently used by this operation.
getPosition() - Method in class org.jdrawing.graphics.GraphicsOperation
Returns the position of this operation in the painting sequence of the model.
getRenderer() - Method in class org.jdrawing.TransformingDrawingElementRenderer
Gets the DrawingElementRenderer which is used by this renderer to delegate rendering requests to.
getRenderingHint(RenderingHints.Key) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Returns the value of a single preference for the rendering algorithms.
getRenderingHints() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Gets the preferences for the rendering algorithms.
getRenderingHints() - Method in class org.jdrawing.graphics.Style
Returns the value of the renderingHints attribute of this style.
getShape() - Method in class org.jdrawing.graphics.ShapeOperation
Returns shape currently used by this operation.
getShapeBounds(Shape) - Method in class org.jdrawing.graphics.Style
Returns bounding box of the specified shape according to transform attribute.
getShapeBounds2D(Shape) - Method in class org.jdrawing.graphics.Style
Returns high precision bounding box of the specified shape according to transform attribute.
getShapeOfOperation() - Method in class org.jdrawing.graphics.AbstractDrawRect
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.AbstractFillRect
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.Draw
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.DrawImage
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.DrawLine
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.DrawOval
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.DrawPolygon
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.DrawString
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.Fill
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.FillOval
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.FillPolygon
Returns shape of the area updated by this operation.
getShapeOfOperation() - Method in class org.jdrawing.graphics.GraphicsOperation
Returns shape of the area updated by this operation.
getStringBounds(String, FontRenderContext) - Method in class org.jdrawing.graphics.Style
Returns bounding box of the specified string according to font attribute and specified FontRenderingContext.
getStroke() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Returns the current Stroke in the Graphics2D context.
getStroke() - Method in class org.jdrawing.graphics.Style
Returns the value of the stroke attribute of this style.
getStyle() - Method in class org.jdrawing.graphics.GraphicsOperation
Gets Style object encapsulating style attibutes of this operation.
getText() - Method in class org.jdrawing.graphics.DrawString
Returns the text to be drawn.
getTransform() - Method in class org.jdrawing.TransformingDrawingElementRenderer
Gets the AffineTransform used by this transforming renderer.
getTransform() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Returns a copy of the current Transform in the Graphics2D context.
getTransform() - Method in class org.jdrawing.graphics.Style
Returns the value of the transform attribute of this style.
getWidth() - Method in class org.jdrawing.graphics.RectangleOperation
Returns the width of the rectangle
getX() - Method in class org.jdrawing.graphics.DrawString
Returns the X coordinate of the text.
getX() - Method in class org.jdrawing.graphics.RectangleOperation
Returns the X coordinate of the left edge of the rectangle
getX1() - Method in class org.jdrawing.graphics.DrawLine
Returns X coordinate of start point of the line.
getX2() - Method in class org.jdrawing.graphics.DrawLine
Returns X coordinate of end point of the line.
getY() - Method in class org.jdrawing.graphics.DrawString
Returns the Y coordinate of the text.
getY() - Method in class org.jdrawing.graphics.RectangleOperation
Returns the Y coordinate of the top edge of the rectangle
getY1() - Method in class org.jdrawing.graphics.DrawLine
Returns Y coordinate of start point of the line.
getY2() - Method in class org.jdrawing.graphics.DrawLine
Returns Y coordinate of end point of the line.

H

hashCode() - Method in class org.jdrawing.graphics.Style
Returns the hashcode for this style.
hit(Rectangle, Shape, boolean) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Checks whether or not the specified Shape intersects the specified Rectangle, which is in device space.

I

intersects(Rectangle2D) - Method in interface org.jdrawing.DrawingElement
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.AbstractDrawRect
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.DrawLine
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.GraphicsOperation
Tests if the element intersects with the given rectangle.
isRaised() - Method in class org.jdrawing.graphics.Draw3DRect
Returns if the rectangle appears to be raised above the surface or sunk into the surface
isRaised() - Method in class org.jdrawing.graphics.Fill3DRect
Returns if the rectangle appears to be raised above the surface or sunk into the surface

J

JDrawing - class org.jdrawing.JDrawing.
A control that displays a set of graphical objects.
JDrawing() - Constructor for class org.jdrawing.JDrawing
Returns a JDrawing with an empty model.
JDrawing(DrawingModel) - Constructor for class org.jdrawing.JDrawing
Returns an instance of JDrawing which displays the specified model.

L

LayeredDrawingModel - class org.jdrawing.LayeredDrawingModel.
This implementation of DrawingModel interface allows user to specify layer for each element.
LayeredDrawingModel() - Constructor for class org.jdrawing.LayeredDrawingModel
 

M

MIN_CELL_SIZE - Static variable in class org.jdrawing.QuadTreeDrawingModelCache
Minimal cell size in pixels.
modelChanged(DrawingModelEvent) - Method in class org.jdrawing.AbstractDrawingModelCache
Invoked after the model has drastically changed in some way.
modelChanged(DrawingModelEvent) - Method in class org.jdrawing.DefaultDrawingModelCache
Invoked after the model has drastically changed in some way.
modelChanged(DrawingModelEvent) - Method in class org.jdrawing.GridDrawingModelCache
Invoked after the model has drastically changed in some way.
modelChanged(DrawingModelEvent) - Method in class org.jdrawing.QuadTreeDrawingModelCache
Invoked after the model has drastically changed in some way.
modelChanged(DrawingModelEvent) - Method in interface org.jdrawing.event.DrawingModelListener
Invoked after the model has drastically changed in some way.

O

org.jdrawing - package org.jdrawing
Provides JDrawing class as well as related classes and interfaces.
org.jdrawing.event - package org.jdrawing.event
Provides event classes and listener interfaces that are used to react to events fired by JDrawing and related classes.
org.jdrawing.graphics - package org.jdrawing.graphics
Provides data model for JDrawing which uses basic drawing commands as elements.

P

PAINT - Static variable in class org.jdrawing.graphics.Style
Key for paint attribute.
PolygonOperation - class org.jdrawing.graphics.PolygonOperation.
Base class for operations, which get Polygon as argument.
PolygonOperation(Polygon) - Constructor for class org.jdrawing.graphics.PolygonOperation
Returns ShapeOperation with given polygon.
PolygonOperation(Polygon, Style) - Constructor for class org.jdrawing.graphics.PolygonOperation
Returns ShapeOperation with given polygon.
paint(Graphics) - Method in interface org.jdrawing.DrawingElement
Paint the element.
paint(Graphics) - Method in class org.jdrawing.graphics.GraphicsOperation
Paint the element.
paintBackground(Graphics) - Method in class org.jdrawing.JDrawing
Invoked from JDrawing.paintComponent(java.awt.Graphics) before painting any elements.
paintComponent(Graphics) - Method in class org.jdrawing.JDrawing
Paints this JDrawing component.
paintDrawingElement(Graphics, Object) - Method in interface org.jdrawing.DrawingElementRenderer
Paints the given element.
paintDrawingElement(Graphics, Object) - Method in class org.jdrawing.TransformingDrawingElementRenderer
Paints the given element.
paintElements(Graphics) - Method in class org.jdrawing.JDrawing
Paints drawing elements.
paintForeground(Graphics) - Method in class org.jdrawing.JDrawing
Invoked from JDrawing.paintComponent(java.awt.Graphics) after painting elements.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.ClearRect
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.Draw
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.Draw3DRect
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawImage
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawLine
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawOval
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawPolygon
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawRect
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawString
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.Fill
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.Fill3DRect
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.FillOval
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.FillPolygon
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.FillRect
Performs drawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.GraphicsOperation
Performs drawing operation.

Q

QuadTreeDrawingModelCache - class org.jdrawing.QuadTreeDrawingModelCache.
This implementation of DrawingModelCache optimizes drawing operations by splitting all the drawing area into quadrants recursively and caching elements contained in each quadrant.
QuadTreeDrawingModelCache() - Constructor for class org.jdrawing.QuadTreeDrawingModelCache
 

R

RENDERING_HINTS - Static variable in class org.jdrawing.graphics.Style
Key for rendering hints attribute.
RectangleOperation - class org.jdrawing.graphics.RectangleOperation.
Base class for operations, which get Rectangle as argument.
RectangleOperation(int, int, int, int) - Constructor for class org.jdrawing.graphics.RectangleOperation
Returns RectangleOperation with given rectangle.
RectangleOperation(int, int, int, int, Style) - Constructor for class org.jdrawing.graphics.RectangleOperation
Returns RectangleOperation with given rectangle and style.
removeDrawingModelCacheListener(DrawingModelCacheListener) - Method in class org.jdrawing.AbstractDrawingModelCache
Removes a listener from the list that is notified about changes in this model cache.
removeDrawingModelCacheListener(DrawingModelCacheListener) - Method in interface org.jdrawing.DrawingModelCache
Removes a listener from the list that is notified about changes in this model cache.
removeDrawingModelListener(DrawingModelListener) - Method in class org.jdrawing.AbstractDrawingModel
Removes a listener from the list that is notified about changes in this model.
removeDrawingModelListener(DrawingModelListener) - Method in interface org.jdrawing.DrawingModel
Removes a listener from the list that is notified about changes in this model.
removeElement(Object) - Method in class org.jdrawing.DefaultDrawingModel
Removes element from the model.
removeElement(Object) - Method in class org.jdrawing.LayeredDrawingModel
Remove element from the model.
removeElements(Object[]) - Method in class org.jdrawing.DefaultDrawingModel
Removes several elements from the model.
removeOperation(GraphicsOperation) - Method in class org.jdrawing.graphics.GraphicsModel
Removes given GraphicsOperation from the painting sequence of the model.
removeOperationAt(int) - Method in class org.jdrawing.graphics.GraphicsModel
Removes the element at specified position from the painting sequence of the model.
rotate(double) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Concatenates the current Graphics2D Transform with a rotation transform.
rotate(double, double, double) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Concatenates the current Graphics2D Transform with a translated rotation transform.

S

STROKE - Static variable in class org.jdrawing.graphics.Style
Key for stroke attribute.
ShapeOperation - class org.jdrawing.graphics.ShapeOperation.
Base class for operations, which get Shape as argument.
ShapeOperation(Shape) - Constructor for class org.jdrawing.graphics.ShapeOperation
Returns ShapeOperation with given shape.
ShapeOperation(Shape, Style) - Constructor for class org.jdrawing.graphics.ShapeOperation
Returns ShapeOperation with given shape.
Style - class org.jdrawing.graphics.Style.
Encapsulates style information used to perform graphics operations.
Style() - Constructor for class org.jdrawing.graphics.Style
Constructs a new Style with defaults for all attributes.
Style(Map) - Constructor for class org.jdrawing.graphics.Style
Constructs a new Style with the specified attributes.
scale(double, double) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Concatenates the current Graphics2D Transform with a scaling transformation Subsequent rendering is resized according to the specified scaling factors relative to the previous scaling.
setBackground(Color) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets the background color for the Graphics2D context.
setBegin(int, int) - Method in class org.jdrawing.graphics.DrawLine
Sets begin point for this line.
setCellSize(Dimension) - Method in class org.jdrawing.GridDrawingModelCache
Set size for rectangular cells.
setClip(int, int, int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets the current clip to the rectangle specified by the given coordinates.
setClip(Shape) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets the current clipping area to an arbitrary clip shape.
setColor(Color) - Method in class org.jdrawing.graphics.DrawImage
Sets background color of the image.
setColor(Color) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets this graphics context's current color to the specified color.
setComposite(Composite) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets the Composite for the Graphics2D context.
setCoords(int[]) - Method in class org.jdrawing.graphics.DrawImage
Sets coordinates of the image.
setElementLayer(Object, int) - Method in class org.jdrawing.LayeredDrawingModel
Sets layer for element.
setElementRenderer(DrawingElementRenderer) - Method in class org.jdrawing.AbstractDrawingModelCache
Sets the DrawingElementRenderer that will be used this cache.
setElementRenderer(DrawingElementRenderer) - Method in class org.jdrawing.DefaultDrawingModelCache
Sets the DrawingElementRenderer that will be used this cache.
setElementRenderer(DrawingElementRenderer) - Method in interface org.jdrawing.DrawingModelCache
Sets the DrawingElementRenderer that will be used in this cache.
setElementRenderer(DrawingElementRenderer) - Method in class org.jdrawing.GridDrawingModelCache
Sets the DrawingElementRenderer that will be used in this cache.
setElementRenderer(DrawingElementRenderer) - Method in class org.jdrawing.JDrawing
Sets the DrawingElementRenderer that will be used to draw each element.
setElementRenderer(DrawingElementRenderer) - Method in class org.jdrawing.QuadTreeDrawingModelCache
Sets the DrawingElementRenderer that will be used in this cache.
setEnd(int, int) - Method in class org.jdrawing.graphics.DrawLine
Sets end point for this line.
setFont(Font) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets this graphics context's font to the specified font.
setHeight(int) - Method in class org.jdrawing.graphics.RectangleOperation
Sets the height of the rectangle
setImage(Image) - Method in class org.jdrawing.graphics.DrawImage
Sets image to be drawn.
setLine(int, int, int, int) - Method in class org.jdrawing.graphics.DrawLine
Sets begin and end points for this line.
setModel(DrawingModel) - Method in class org.jdrawing.AbstractDrawingModelCache
Sets the DrawingModel that will be cached by this cache.
setModel(DrawingModel) - Method in class org.jdrawing.DefaultDrawingModelCache
Sets the DrawingModel that will be cached by this cache.
setModel(DrawingModel) - Method in interface org.jdrawing.DrawingModelCache
Sets the DrawingModel that will be cached by this cache.
setModel(DrawingModel) - Method in class org.jdrawing.GridDrawingModelCache
Sets the DrawingModel that will be cached by this cache.
setModel(DrawingModel) - Method in class org.jdrawing.JDrawing
Sets the DrawingModel that will provide the data.
setModel(DrawingModel) - Method in class org.jdrawing.QuadTreeDrawingModelCache
Sets the DrawingModel that will be cached by this cache.
setModelCache(DrawingModelCache) - Method in class org.jdrawing.JDrawing
Sets the DrawingModelCache that will optimize redrawing.
setObserver(ImageObserver) - Method in class org.jdrawing.graphics.DrawImage
Sets the ImageObserver used by this operation.
setOrigin(Point) - Method in class org.jdrawing.JDrawing
Sets the coordination of origin point of the drawing into client coordinate space.
setPaint(Paint) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets the Paint attribute for the Graphics2D context.
setPaintMode() - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
setPolygon(Polygon) - Method in class org.jdrawing.graphics.PolygonOperation
Sets polygon for this operation.
setPosition(int) - Method in class org.jdrawing.graphics.GraphicsOperation
Stores the position of this operation in the painting sequence of the model.
setRaised(boolean) - Method in class org.jdrawing.graphics.Draw3DRect
Sets if the rectangle appears to be raised above the surface or sunk into the surface
setRaised(boolean) - Method in class org.jdrawing.graphics.Fill3DRect
Sets if the rectangle appears to be raised above the surface or sunk into the surface
setRectangle(int, int, int, int) - Method in class org.jdrawing.graphics.RectangleOperation
Sets bounds of the rectangle.
setRenderingHint(RenderingHints.Key, Object) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets the value of a single preference for the rendering algorithms.
setRenderingHints(Map) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Replaces the values of all preferences for the rendering algorithms with the specified hints.
setShape(Shape) - Method in class org.jdrawing.graphics.ShapeOperation
Sets shape for this operation.
setStroke(Stroke) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Sets the Stroke for the Graphics2D context.
setStyle(Style) - Method in class org.jdrawing.graphics.GraphicsOperation
Sets Style object encapsulating style attibutes of this operation.
setText(String) - Method in class org.jdrawing.graphics.DrawString
Sets the text to be drawn.
setTransform(AffineTransform) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Overwrites the Transform in the Graphics2D context.
setWidth(int) - Method in class org.jdrawing.graphics.RectangleOperation
Sets the width of the rectangle
setX(float) - Method in class org.jdrawing.graphics.DrawString
Sets the X coordinate of the text.
setX(int) - Method in class org.jdrawing.graphics.RectangleOperation
Sets the X coordinate of the left edge of the rectangle.
setX1(int) - Method in class org.jdrawing.graphics.DrawLine
Sets X coordinate of start point of the line.
setX2(int) - Method in class org.jdrawing.graphics.DrawLine
Sets X coordinate of end point of the line.
setXORMode(Color) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Unimplemented
setY(float) - Method in class org.jdrawing.graphics.DrawString
Sets the Y coordinate of the text.
setY(int) - Method in class org.jdrawing.graphics.RectangleOperation
Sets the Y coordinate of the top edge of the rectangle.
setY1(int) - Method in class org.jdrawing.graphics.DrawLine
Sets Y coordinate of start point of the line.
setY2(int) - Method in class org.jdrawing.graphics.DrawLine
Sets Y coordinate of end point of the line.
shapeContains(Shape, Rectangle2D) - Method in class org.jdrawing.graphics.Style
Tests if the specified shape contains the given rectangle according to transform attribute.
shapeContains(Shape, Point2D) - Method in class org.jdrawing.graphics.Style
Tests if the specified shape contains the given point according to transform attribute.
shapeIntersects(Shape, Rectangle2D) - Method in class org.jdrawing.graphics.Style
Tests if the specified shape intersects with the given rectangle according to transform attribute.
shear(double, double) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Concatenates the current Graphics2D Transform with a shearing transform.
size() - Method in class org.jdrawing.graphics.GraphicsModel
Returns total count of elements in the model.
sortElements(Object[]) - Method in class org.jdrawing.DefaultDrawingModel
Reorder elements to be in order suitable for painting.
sortElements(Object[]) - Method in interface org.jdrawing.DrawingModel
Reorder elements to be in order suitable for painting.
sortElements(Object[]) - Method in class org.jdrawing.LayeredDrawingModel
Reorder elements to be in order suitable for painting.
sortElements(Object[]) - Method in class org.jdrawing.graphics.GraphicsModel
Reorder elements to be in down, then right order.

T

TRANSFORM - Static variable in class org.jdrawing.graphics.Style
Key for transform attribute.
TransformingDrawingElementRenderer - class org.jdrawing.TransformingDrawingElementRenderer.
This implementation of DrawingElementRenderer allows user to apply affine transform to drawing.
TransformingDrawingElementRenderer(AffineTransform, DrawingElementRenderer) - Constructor for class org.jdrawing.TransformingDrawingElementRenderer
Returns a TransformingDrawingElementRenderer with given transform and renderer.
transform(AffineTransform) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Composes an AffineTransform object with the Transform in this Graphics2D according to the rule last-specified-first-applied.
translate(double, double) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Concatenates the current Graphics2D Transform with a translation transform.
translate(int, int) - Method in class org.jdrawing.graphics.GraphicsModelBuilder
Translates the origin of the Graphics2D context to the point (xy) in the current coordinate system.

U

updateElement(Object) - Method in class org.jdrawing.DefaultDrawingModel
Notify all listeners that element has changed.
updateElement(Object) - Method in class org.jdrawing.LayeredDrawingModel
Notify all listeners that element has changed.
updateElements(Object[]) - Method in class org.jdrawing.DefaultDrawingModel
Notify all listeners that several elements have changed.
updateOperation(GraphicsOperation) - Method in class org.jdrawing.graphics.GraphicsModel
Notify listeners about element changes.

A B C D E F G H I J L M O P Q R S T U