A B C D E F G 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.
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, which fills the rectangle.
AbstractFillRect(int, int, int, int) - 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.
addElement(GraphicsElement) - Method in class org.jdrawing.graphics.Group
Append the specified element to the end of this group.
addElementAt(GraphicsElement, int) - Method in class org.jdrawing.graphics.Group
Adds the element to the group at specified position.
addStyle(String, Object) - Method in class org.jdrawing.graphics.GraphicsElement
Add style to this element
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.GraphicsElement
Background style.

C

COLOR - Static variable in class org.jdrawing.graphics.GraphicsElement
Color style.
COMPOSITE - Static variable in class org.jdrawing.graphics.GraphicsElement
Composite style.
CompoundDrawingElement - interface org.jdrawing.CompoundDrawingElement.
Interface for drawing elements which consist of several subelements.
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 containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.AbstractFillRect
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.Draw
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.DrawImage
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.DrawLine
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.DrawOval
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.DrawPolygon
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.DrawString
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.Fill
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.FillOval
Tests if the element containes given point.
contains(Point2D) - Method in class org.jdrawing.graphics.FillPolygon
Tests if the element containes given point.

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.
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.
DrawImage - class org.jdrawing.graphics.DrawImage.
Graphics element which corresponds to Graphics.drawImage(Image, int, int, ImageObserver).
DrawImage(Image, int, int) - 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).
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.
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.
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.
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.
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 change.
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 change.
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.
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.
elementsChanged(GraphicsElement[]) - Method in class org.jdrawing.graphics.Group
Notify parent about elements was changed.
elementsInserted(GraphicsElement[]) - Method in class org.jdrawing.graphics.Group
Notify parent about new elements was inserted.
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.
elementsRemoved(GraphicsElement[]) - Method in class org.jdrawing.graphics.Group
Notify parent about elements was removed.

F

FONT - Static variable in class org.jdrawing.graphics.GraphicsElement
Font style.
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.
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.
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.
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.
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.
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

GraphicsElement - class org.jdrawing.graphics.GraphicsElement.
Base class for entities, that can be added to GraphicsModel.
GraphicsElement() - Constructor for class org.jdrawing.graphics.GraphicsElement
 
GraphicsModel - class org.jdrawing.graphics.GraphicsModel.
The implementation of DrawingModel interface that stores a set of graphics elements.
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
 
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
 
Group - class org.jdrawing.graphics.Group.
Combines several elements.
Group() - Constructor for class org.jdrawing.graphics.Group
 
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.AbstractFillRect
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.Draw
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.DrawImage
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.DrawPolygon
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.DrawString
Returns bounding box of the element.
getBounds() - Method in class org.jdrawing.graphics.Fill
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.FillPolygon
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.AbstractFillRect
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.Draw
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.DrawImage
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.DrawPolygon
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.DrawString
Returns high precision bounding box of the element.
getBounds2D() - Method in class org.jdrawing.graphics.Fill
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.FillPolygon
Returns high precision bounding box of the element.
getCellSize() - Method in class org.jdrawing.GridDrawingModelCache
Return size of cells used by this cache.
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.
getElementAt(int) - Method in class org.jdrawing.graphics.Group
Gets the element in this group at specified position.
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.
getElementCount() - Method in class org.jdrawing.graphics.Group
Gets the number of elements in this group.
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 containes given point.
getElementsForPoint(Point2D) - Method in interface org.jdrawing.DrawingModelCache
Returns elements, which containes given point.
getElementsForPoint(Point2D) - Method in class org.jdrawing.GridDrawingModelCache
Returns elements, which containes 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 neccessary for repainting given area.
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.
getOrigin() - Method in class org.jdrawing.JDrawing
Returnss the coordination of origin point of the drawing in to client coordinate space.
getParent() - Method in class org.jdrawing.graphics.GraphicsElement
Returns this parent Group of this element.
getPolygon() - Method in class org.jdrawing.graphics.PolygonOperation
Returns polygon currentily used by this operation.
getRenderer() - Method in class org.jdrawing.TransformingDrawingElementRenderer
Gets the DrawingElementRenderer which is used by this renderer to delegate rendering requests to.
getRootGroup() - Method in class org.jdrawing.graphics.GraphicsModel
Returns Group that is the root of the model.
getShape() - Method in class org.jdrawing.graphics.ShapeOperation
Returns shape currentily used by this operation.
getStyle(String) - Method in class org.jdrawing.graphics.GraphicsElement
Gets style of the element with given name
getStyles() - Method in class org.jdrawing.graphics.GraphicsElement
Returns an array of names of all styles, assigned to this element.
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.GraphicsElement
Returns the AffineTransform that is concatenation of transform of parent group of the element and transform style of the element.
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.

I

imageUpdate(Image, int, int, int, int, int) - Method in class org.jdrawing.graphics.DrawImage
This method is called when information about an image which was previously requested using an asynchronous interface becomes available.
indexOf(GraphicsElement) - Method in class org.jdrawing.graphics.Group
Returns the index of the element in the group.
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.AbstractFillRect
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.Draw
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.DrawImage
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.DrawOval
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.DrawPolygon
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.DrawString
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.Fill
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.FillOval
Tests if the element intersects with the given rectangle.
intersects(Rectangle2D) - Method in class org.jdrawing.graphics.FillPolygon
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.GraphicsElement
Paint style.
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.
paint(Graphics) - Method in interface org.jdrawing.DrawingElement
Paint the element.
paint(Graphics) - Method in class org.jdrawing.graphics.GraphicsOperation
Paint the element.
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.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.Draw
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.Draw3DRect
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawImage
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawLine
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawOval
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawPolygon
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawRect
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.DrawString
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.Fill
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.Fill3DRect
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.FillOval
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.FillPolygon
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.FillRect
Performs grawing operation.
paintOperation(Graphics2D) - Method in class org.jdrawing.graphics.GraphicsOperation
Performs grawing operation.
parent - Variable in class org.jdrawing.graphics.GraphicsElement
Parent Group of this element
position - Variable in class org.jdrawing.graphics.GraphicsElement
Index of this elements in the children list of the parent Group

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.
removeAllElements() - Method in class org.jdrawing.graphics.Group
Removes all the elements from this group.
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.
removeElement(int) - Method in class org.jdrawing.graphics.Group
Removes the element, specified by index, from this group.

S

STROKE - Static variable in class org.jdrawing.graphics.GraphicsElement
Stroke style.
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.
setBegin(int, int) - Method in class org.jdrawing.graphics.DrawLine
Sets begin point for this line.
setCellSize(Dimension2D) - 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 this cache.
setElementRenderer(DrawingElementRenderer) - Method in class org.jdrawing.GridDrawingModelCache
Sets the DrawingElementRenderer that will be used 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.
setOrigin(Point) - Method in class org.jdrawing.JDrawing
Sets the coordination of origin point of the drawing in to client coordinate space.
setPolygon(Polygon) - Method in class org.jdrawing.graphics.PolygonOperation
Sets polygon for this operation.
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.
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.
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.GraphicsElement
Transform style.
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

update() - Method in class org.jdrawing.graphics.GraphicsOperation
Notifies parent about changes in this element
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.

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