A C D E F G H I J L M O P 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.
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.
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.

C

COLOR - Static variable in class org.jdrawing.graphics.Style
Key for color attribute.
COMPOSITE - Static variable in class org.jdrawing.graphics.Style
Key for composite attribute.
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
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.
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.
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.
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.GridDrawingModelCache
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.GridDrawingModelCache
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.GridDrawingModelCache
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.Draw3DRect
Checks whether two draw 3D rect operations are equal.
equals(Object) - Method in class org.jdrawing.graphics.DrawImage
Checks whether two draw image operations are equal.
equals(Object) - Method in class org.jdrawing.graphics.DrawLine
Checks whether two draw line operations are equal.
equals(Object) - Method in class org.jdrawing.graphics.DrawString
Checks whether two draw string operations are equal.
equals(Object) - Method in class org.jdrawing.graphics.Fill3DRect
Checks whether two fill 3D rect operations are equal.
equals(Object) - Method in class org.jdrawing.graphics.GraphicsOperation
Checks whether two graphics operations are equal.
equals(Object) - Method in class org.jdrawing.graphics.PolygonOperation
Checks whether two polygon operations are equal.
equals(Object) - Method in class org.jdrawing.graphics.RectangleOperation
Checks whether two rectangle operations are equal.
equals(Object) - Method in class org.jdrawing.graphics.ShapeOperation
Checks whether two shape operations are equal.
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.
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
 
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.
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.
getColor() - Method in class org.jdrawing.graphics.Style
Returns the value of the color attribute of this style.
getComposite() - Method in class org.jdrawing.graphics.Style
Returns the value of the composite attribute of this style.
getDefaultStyle() - Static method in class org.jdrawing.graphics.Style
Returns the shared instance of style with defaults for all attributes.
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.
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.
getFont() - Method in class org.jdrawing.graphics.Style
Returns the value of the font attribute of this style.
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.
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.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.
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.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.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.DrawImage
Returns X coordinate of the image.
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.DrawImage
Returns X coordinate of the image.
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.Draw3DRect
Returns the hashcode for this draw 3D rect operation.
hashCode() - Method in class org.jdrawing.graphics.DrawImage
Returns the hashcode for this draw image operation.
hashCode() - Method in class org.jdrawing.graphics.DrawLine
Returns the hashcode for this draw line operation.
hashCode() - Method in class org.jdrawing.graphics.DrawString
Returns the hashcode for this draw string operation.
hashCode() - Method in class org.jdrawing.graphics.Fill3DRect
Returns the hashcode for this fill 3D rect operation.
hashCode() - Method in class org.jdrawing.graphics.GraphicsOperation
Returns the hashcode for this graphics operation.
hashCode() - Method in class org.jdrawing.graphics.PolygonOperation
Returns the hashcode for this polygon operation.
hashCode() - Method in class org.jdrawing.graphics.RectangleOperation
Returns the hashcode for this rectangle operation.
hashCode() - Method in class org.jdrawing.graphics.ShapeOperation
Returns the hashcode for this shape operation.
hashCode() - Method in class org.jdrawing.graphics.Style
Returns the hashcode for this style.

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

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.GridDrawingModelCache
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.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.

R

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
Remove element from the model.
removeElement(Object) - Method in class org.jdrawing.LayeredDrawingModel
Remove element 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.

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.
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.
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 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.
setEnd(int, int) - Method in class org.jdrawing.graphics.DrawLine
Sets end point for this line.
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 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.
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.
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.
setShape(Shape) - Method in class org.jdrawing.graphics.ShapeOperation
Sets shape for this operation.
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.
setWidth(int) - Method in class org.jdrawing.graphics.RectangleOperation
Sets the width of the rectangle
setX(int) - Method in class org.jdrawing.graphics.DrawImage
Sets X coordinate of the image.
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.
setY(int) - Method in class org.jdrawing.graphics.DrawImage
Sets Y coordinate of the image.
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.
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.

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.
updateOperation(GraphicsOperation) - Method in class org.jdrawing.graphics.GraphicsModel
Notify listeners about element changes.

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