JHotDraw 7.1

Serialized Form


Package net.n3.nanoxml

Class net.n3.nanoxml.XMLElement extends java.lang.Object implements Serializable

serialVersionUID: -2383376380548624920L

Serialized Fields

parent

IXMLElement parent
The parent element.


attributes

java.util.ArrayList<E> attributes
The attributes of the element.


children

java.util.ArrayList<E> children
The child iterator.


name

java.lang.String name
The name of the element.


fullName

java.lang.String fullName
The full name of the element.


namespace

java.lang.String namespace
The namespace URI.


content

java.lang.String content
The content of the element.


systemID

java.lang.String systemID
The system ID of the source data where this element is located.


lineNr

int lineNr
The line in the source data where this element starts.

Class net.n3.nanoxml.XMLException extends java.lang.Exception implements Serializable

Serialized Fields

msg

java.lang.String msg
The message of the exception.


systemID

java.lang.String systemID
The system ID of the XML data where the exception occurred.


lineNr

int lineNr
The line number in the XML data where the exception occurred.


encapsulatedException

java.lang.Exception encapsulatedException
Encapsulated exception.

Class net.n3.nanoxml.XMLParseException extends XMLException implements Serializable

Class net.n3.nanoxml.XMLValidationException extends XMLException implements Serializable

Serialized Fields

errorType

int errorType
Which error occurred.


elementName

java.lang.String elementName
The name of the element where the exception occurred.


attributeName

java.lang.String attributeName
The name of the attribute where the exception occurred.


attributeValue

java.lang.String attributeValue
The value of the attribute where the exception occurred.


Package org.jhotdraw.app

Class org.jhotdraw.app.AbstractApplication extends AbstractBean implements Serializable

Serialized Fields

views

java.util.LinkedList<E> views

unmodifiableDocuments

java.util.Collection<E> unmodifiableDocuments

isEnabled

boolean isEnabled

labels

ResourceBundleUtil labels

model

ApplicationModel model

recentFiles

java.util.LinkedList<E> recentFiles

prefs

java.util.prefs.Preferences prefs

activeView

View activeView

Class org.jhotdraw.app.AbstractView extends javax.swing.JPanel implements Serializable

Serialized Fields

application

Application application

saveChooser

javax.swing.JFileChooser saveChooser
The file chooser used for saving the view. Has a null value, if the file chooser has not been used yet.


openChooser

javax.swing.JFileChooser openChooser
The file chooser used for opening the view. Has a null value, if the file chooser has not been used yet.


file

java.io.File file
The view file. Has a null value, if the view has not been loaded from a file or has not been saved yet.


executor

java.util.concurrent.Executor executor
The executor used to perform background tasks for the View in a controlled manner. This executor ensures that all background tasks are executed sequentually.


actions

java.util.HashMap<K,V> actions
Hash map for storing view actions.


hasUnsavedChanges

boolean hasUnsavedChanges
This is set to true, if the view has unsaved changes.


prefs

java.util.prefs.Preferences prefs
The preferences of the view.


multipleOpenId

int multipleOpenId
This id is used to make multiple open projects from the same view file identifiable.


isShowing

boolean isShowing
This is set to true, if the view is showing.


title

java.lang.String title
The title of the view.

Class org.jhotdraw.app.DefaultAppletApplication extends AbstractApplication implements Serializable

Serialized Fields

applet

javax.swing.JApplet applet

view

View view

Class org.jhotdraw.app.DefaultApplicationModel extends AbstractBean implements Serializable

Serialized Fields

actions

java.util.HashMap<K,V> actions

name

java.lang.String name

version

java.lang.String version

copyright

java.lang.String copyright

viewClass

java.lang.Class<T> viewClass

viewClassName

java.lang.String viewClassName

Class org.jhotdraw.app.DefaultMDIApplication extends AbstractApplication implements Serializable

Serialized Fields

parentFrame

javax.swing.JFrame parentFrame

scrollPane

javax.swing.JScrollPane scrollPane

desktopPane

MDIDesktopPane desktopPane

prefs

java.util.prefs.Preferences prefs

toolBarActions

java.util.LinkedList<E> toolBarActions

Class org.jhotdraw.app.DefaultOSXApplication extends AbstractApplication implements Serializable

Serialized Fields

paletteHandler

OSXPaletteHandler paletteHandler

prefs

java.util.prefs.Preferences prefs

paletteActions

java.util.LinkedList<E> paletteActions

Class org.jhotdraw.app.DefaultSDIApplication extends AbstractApplication implements Serializable

Serialized Fields

prefs

java.util.prefs.Preferences prefs

Package org.jhotdraw.app.action

Class org.jhotdraw.app.action.AboutAction extends AbstractApplicationAction implements Serializable

Class org.jhotdraw.app.action.AbstractApplicationAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

app

Application app

applicationListener

java.beans.PropertyChangeListener applicationListener

Class org.jhotdraw.app.action.AbstractSaveBeforeAction extends AbstractViewAction implements Serializable

Serialized Fields

oldFocusOwner

java.awt.Component oldFocusOwner

Class org.jhotdraw.app.action.AbstractViewAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

app

Application app

propertyName

java.lang.String propertyName

applicationListener

java.beans.PropertyChangeListener applicationListener

viewListener

java.beans.PropertyChangeListener viewListener

Class org.jhotdraw.app.action.ArrangeAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

arrangeable

Arrangeable arrangeable

arrangement

Arrangeable.Arrangement arrangement

Class org.jhotdraw.app.action.ClearAction extends AbstractSaveBeforeAction implements Serializable

Class org.jhotdraw.app.action.ClearRecentFilesAction extends AbstractApplicationAction implements Serializable

Serialized Fields

applicationListener

java.beans.PropertyChangeListener applicationListener

Class org.jhotdraw.app.action.CloseAction extends AbstractSaveBeforeAction implements Serializable

Class org.jhotdraw.app.action.CopyAction extends javax.swing.AbstractAction implements Serializable

Class org.jhotdraw.app.action.CutAction extends javax.swing.AbstractAction implements Serializable

Class org.jhotdraw.app.action.DeleteAction extends javax.swing.text.TextAction implements Serializable

Class org.jhotdraw.app.action.DuplicateAction extends javax.swing.AbstractAction implements Serializable

Class org.jhotdraw.app.action.ExitAction extends AbstractApplicationAction implements Serializable

Serialized Fields

oldFocusOwner

java.awt.Component oldFocusOwner

unsavedView

View unsavedView

Class org.jhotdraw.app.action.ExportAction extends AbstractViewAction implements Serializable

Serialized Fields

oldFocusOwner

java.awt.Component oldFocusOwner

Class org.jhotdraw.app.action.FindAction extends AbstractViewAction implements Serializable

Class org.jhotdraw.app.action.FocusAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

view

View view

Class org.jhotdraw.app.action.LoadAction extends AbstractSaveBeforeAction implements Serializable

Class org.jhotdraw.app.action.LoadRecentAction extends AbstractSaveBeforeAction implements Serializable

Serialized Fields

file

java.io.File file

Class org.jhotdraw.app.action.MaximizeAction extends AbstractViewAction implements Serializable

Class org.jhotdraw.app.action.MinimizeAction extends AbstractViewAction implements Serializable

Class org.jhotdraw.app.action.NewAction extends AbstractApplicationAction implements Serializable

Class org.jhotdraw.app.action.OpenAction extends AbstractApplicationAction implements Serializable

Class org.jhotdraw.app.action.OpenRecentAction extends AbstractApplicationAction implements Serializable

Serialized Fields

file

java.io.File file

Class org.jhotdraw.app.action.OSXDropOnDockAction extends AbstractApplicationAction implements Serializable

Serialized Fields

fileChooser

javax.swing.JFileChooser fileChooser

entries

int entries

Class org.jhotdraw.app.action.OSXTogglePaletteAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

palette

java.awt.Window palette

app

DefaultOSXApplication app

windowHandler

java.awt.event.WindowListener windowHandler

Class org.jhotdraw.app.action.PasteAction extends javax.swing.AbstractAction implements Serializable

Class org.jhotdraw.app.action.PrintAction extends AbstractViewAction implements Serializable

Class org.jhotdraw.app.action.RedoAction extends AbstractViewAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

redoActionPropertyListener

java.beans.PropertyChangeListener redoActionPropertyListener

Class org.jhotdraw.app.action.SaveAction extends AbstractViewAction implements Serializable

Serialized Fields

saveAs

boolean saveAs

oldFocusOwner

java.awt.Component oldFocusOwner

Class org.jhotdraw.app.action.SaveAsAction extends SaveAction implements Serializable

Class org.jhotdraw.app.action.SelectAllAction extends javax.swing.AbstractAction implements Serializable

Class org.jhotdraw.app.action.ToggleToolBarAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

toolBar

javax.swing.JToolBar toolBar

propertyHandler

java.beans.PropertyChangeListener propertyHandler

Class org.jhotdraw.app.action.ToggleViewPropertyAction extends AbstractViewAction implements Serializable

Serialized Fields

propertyName

java.lang.String propertyName

parameterClass

java.lang.Class<T>[] parameterClass

selectedPropertyValue

java.lang.Object selectedPropertyValue

deselectedPropertyValue

java.lang.Object deselectedPropertyValue

setterName

java.lang.String setterName

getterName

java.lang.String getterName

viewListener

java.beans.PropertyChangeListener viewListener

Class org.jhotdraw.app.action.ToggleVisibleAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

component

java.awt.Component component

Class org.jhotdraw.app.action.UndoAction extends AbstractViewAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

redoActionPropertyListener

java.beans.PropertyChangeListener redoActionPropertyListener

Class org.jhotdraw.app.action.ViewPropertyAction extends AbstractViewAction implements Serializable

Serialized Fields

propertyName

java.lang.String propertyName

parameterClass

java.lang.Class<T>[] parameterClass

propertyValue

java.lang.Object propertyValue

setterName

java.lang.String setterName

getterName

java.lang.String getterName

viewListener

java.beans.PropertyChangeListener viewListener

Package org.jhotdraw.beans

Class org.jhotdraw.beans.AbstractBean extends java.lang.Object implements Serializable

Serialized Fields

propertySupport

java.beans.PropertyChangeSupport propertySupport

Package org.jhotdraw.draw

Class org.jhotdraw.draw.AbstractAttributedCompositeFigure extends AbstractCompositeFigure implements Serializable

Serialized Fields

attributes

java.util.HashMap<K,V> attributes

forbiddenAttributes

java.util.HashSet<E> forbiddenAttributes
Forbidden attributes can't be set by the setAttribute() operation. They can only be changed by setAttribute().

Class org.jhotdraw.draw.AbstractAttributedDecoratedFigure extends AbstractAttributedFigure implements Serializable

Serialized Fields

decorator

Figure decorator

Class org.jhotdraw.draw.AbstractAttributedFigure extends AbstractFigure implements Serializable

Serialized Fields

attributes

java.util.HashMap<K,V> attributes
Holds the attributes of the figure.


forbiddenAttributes

java.util.HashSet<E> forbiddenAttributes
Forbidden attributes can't be set by the setAttribute() operation. They can only be changed by setAttribute().

Class org.jhotdraw.draw.AbstractCompositeFigure extends AbstractFigure implements Serializable

Serialized Fields

layouter

Layouter layouter
A Layouter determines how the children of the CompositeFigure are laid out graphically.


children

java.util.ArrayList<E> children
The children that this figure is composed of

See Also:
AbstractCompositeFigure.add(org.jhotdraw.draw.Figure), AbstractCompositeFigure.removeChild(int)

cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea
Cached draw cachedBounds.


cachedBounds

java.awt.geom.Rectangle2D.Double cachedBounds
Cached layout cachedBounds.


eventHandler

AbstractCompositeFigure.EventHandler eventHandler
Handles figure changes in the children.

Class org.jhotdraw.draw.AbstractConnector extends java.lang.Object implements Serializable

Serialized Fields

owner

Figure owner
The owner of the connector


isConnectToDecorator

boolean isConnectToDecorator
Whether we should connect to the figure or to its decorator.


isStatePersistent

boolean isStatePersistent
Whether the state of this connector is persistent. Set this to true only, when the user interface allows to change the state of the connector.

Class org.jhotdraw.draw.AbstractConstrainer extends AbstractBean implements Serializable

Serialized Fields

listenerList

javax.swing.event.EventListenerList listenerList
The listeners waiting for model changes.

Class org.jhotdraw.draw.AbstractDrawing extends AbstractAttributedCompositeFigure implements Serializable

Serialized Fields

fontRenderContext

java.awt.font.FontRenderContext fontRenderContext

inputFormats

java.util.LinkedList<E> inputFormats

outputFormats

java.util.LinkedList<E> outputFormats

Class org.jhotdraw.draw.AbstractFigure extends AbstractBean implements Serializable

Serialized Fields

listenerList

javax.swing.event.EventListenerList listenerList

drawing

Drawing drawing

isSelectable

boolean isSelectable

isRemovable

boolean isRemovable

isVisible

boolean isVisible

isTransformable

boolean isTransformable

changingDepth

int changingDepth
This variable is used to prevent endless change loops. We increase its value on each invocation of willChange() and decrease it on each invocation of changed().

Class org.jhotdraw.draw.AbstractLineDecoration extends java.lang.Object implements Serializable

Serialized Fields

isFilled

boolean isFilled
If this is true, the decoration is filled.


isStroked

boolean isStroked
If this is true, the decoration is stroked.


isSolid

boolean isSolid
If this is true, the stroke color is used to fill the decoration.

Class org.jhotdraw.draw.AbstractTool extends AbstractBean implements Serializable

Serialized Fields

isActive

boolean isActive
This is set to true, if this is the active tool of the editor.


isWorking

boolean isWorking
This is set to true, while the tool is doing some work. This prevents the currentView from being changed when a mouseEnter event is received.


editor

DrawingEditor editor

anchor

java.awt.Point anchor

listenerList

javax.swing.event.EventListenerList listenerList

editorProxy

DrawingEditorProxy editorProxy

inputMap

javax.swing.InputMap inputMap
The input map of the tool.


actionMap

javax.swing.ActionMap actionMap
The action map of the tool.

Class org.jhotdraw.draw.ArrowTip extends AbstractLineDecoration implements Serializable

Serialized Fields

angle

double angle
Pointiness of arrow.


outerRadius

double outerRadius

innerRadius

double innerRadius

Class org.jhotdraw.draw.AttributeChangeEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Serialized Fields

owner

Figure owner

name

AttributeKey<T> name

oldValue

java.lang.Object oldValue

newValue

java.lang.Object newValue

Class org.jhotdraw.draw.BezierFigure extends AbstractAttributedFigure implements Serializable

Serialized Fields

path

BezierPath path
The BezierPath.

Class org.jhotdraw.draw.BezierTool extends AbstractTool implements Serializable

Serialized Fields

finishWhenMouseReleased

java.lang.Boolean finishWhenMouseReleased

attributes

java.util.Map<K,V> attributes

prototype

BezierFigure prototype
The prototype for new figures.


createdFigure

BezierFigure createdFigure
The created figure.


nodeCountBeforeDrag

int nodeCountBeforeDrag

presentationName

java.lang.String presentationName
A localized name for this tool. The presentationName is displayed by the UndoableEdit.

Class org.jhotdraw.draw.BidirectionalConnectionTool extends AbstractTool implements Serializable

Serialized Fields

attributes

java.util.Map<K,V> attributes

startConnector

Connector startConnector
the anchor point of the interaction


endConnector

Connector endConnector

targetConnector

Connector targetConnector

target

Figure target

connection

ConnectionFigure connection
the currently created figure


splitPoint

int splitPoint
the currently manipulated connection point


editedConnection

ConnectionFigure editedConnection
the currently edited connection


createdFigure

Figure createdFigure
the figure that was actually added Note, this can be a different figure from the one which has been created.


prototype

ConnectionFigure prototype
the prototypical figure that is used to create new connections.

Class org.jhotdraw.draw.BorderRectangleFigure extends RectangleFigure implements Serializable

Serialized Fields

border

javax.swing.border.Border border
Deprecated. 

Class org.jhotdraw.draw.ChopBezierConnector extends ChopRectangleConnector implements Serializable

Class org.jhotdraw.draw.ChopDiamondConnector extends ChopRectangleConnector implements Serializable

Class org.jhotdraw.draw.ChopEllipseConnector extends ChopRectangleConnector implements Serializable

Class org.jhotdraw.draw.ChopRectangleConnector extends AbstractConnector implements Serializable

Class org.jhotdraw.draw.ChopRoundRectangleConnector extends ChopRectangleConnector implements Serializable

Class org.jhotdraw.draw.ChopTriangleConnector extends ChopRectangleConnector implements Serializable

Class org.jhotdraw.draw.CompositeFigureEvent extends java.util.EventObject implements Serializable

Serialized Fields

invalidatedArea

java.awt.geom.Rectangle2D.Double invalidatedArea

child

Figure child

index

int index

Class org.jhotdraw.draw.CompositeLineDecoration extends java.lang.Object implements Serializable

Serialized Fields

decorations

java.util.List<E> decorations

Class org.jhotdraw.draw.CompositeTransformEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Serialized Fields

owner

AbstractFigure owner

tx

java.awt.geom.AffineTransform tx

inProgress

boolean inProgress
True if this edit has never received end.

Class org.jhotdraw.draw.ConnectionTool extends AbstractTool implements Serializable

Serialized Fields

prototypeAttributes

java.util.Map<K,V> prototypeAttributes
Attributes to be applied to the created ConnectionFigure. These attributes override the default attributes of the DrawingEditor.


startConnector

Connector startConnector
The Connector at the start point of the connection.


endConnector

Connector endConnector
The Connector at the end point of the connection.


createdFigure

ConnectionFigure createdFigure
The created figure.


prototype

ConnectionFigure prototype
the prototypical figure that is used to create new connections.


targetFigure

Figure targetFigure
The figure for which we enabled drawing of connectors.


connectors

java.util.Collection<E> connectors

presentationName

java.lang.String presentationName
A localized name for this tool. The presentationName is displayed by the UndoableEdit.


isToolDoneAfterCreation

boolean isToolDoneAfterCreation
If this is set to false, the CreationTool does not fire toolDone after a new Figure has been created. This allows to create multiple figures consecutively.

Class org.jhotdraw.draw.CreationTool extends AbstractTool implements Serializable

Serialized Fields

prototypeAttributes

java.util.Map<K,V> prototypeAttributes
Attributes to be applied to the created ConnectionFigure. These attributes override the default attributes of the DrawingEditor.


presentationName

java.lang.String presentationName
A localized name for this tool. The presentationName is displayed by the UndoableEdit.


minimalSizeTreshold

java.awt.Dimension minimalSizeTreshold
Treshold for which we create a larger shape of a minimal size.


minimalSize

java.awt.Dimension minimalSize
We set the figure to this minimal size, if it is smaller than the minimal size treshold.


prototype

Figure prototype
The prototype for new figures.


createdFigure

Figure createdFigure
The created figure.


isToolDoneAfterCreation

boolean isToolDoneAfterCreation
If this is set to false, the CreationTool does not fire toolDone after a new Figure has been created. This allows to create multiple figures consecutively.

Class org.jhotdraw.draw.DefaultDrawing extends AbstractDrawing implements Serializable

Serialized Fields

needsSorting

boolean needsSorting

canvasBounds

java.awt.geom.Rectangle2D.Double canvasBounds

Class org.jhotdraw.draw.DefaultDrawingEditor extends AbstractBean implements Serializable

Serialized Fields

defaultAttributes

java.util.HashMap<K,V> defaultAttributes

tool

Tool tool

views

java.util.HashSet<E> views

activeView

DrawingView activeView

isEnabled

boolean isEnabled

focusHandler

java.awt.event.FocusListener focusHandler

preferredViewSize

java.awt.Dimension preferredViewSize

Class org.jhotdraw.draw.DefaultDrawingView extends javax.swing.JComponent implements Serializable

Serialized Fields

drawing

Drawing drawing

dirtyFigures

java.util.Set<E> dirtyFigures

selectedFigures

java.util.Set<E> selectedFigures

selectionHandles

java.util.LinkedList<E> selectionHandles

isConstrainerVisible

boolean isConstrainerVisible

visibleConstrainer

Constrainer visibleConstrainer

invisibleConstrainer

Constrainer invisibleConstrainer

secondaryHandleOwner

Handle secondaryHandleOwner

secondaryHandles

java.util.LinkedList<E> secondaryHandles

handlesAreValid

boolean handlesAreValid

cachedPreferredSize

java.awt.Dimension cachedPreferredSize

scaleFactor

double scaleFactor

translate

java.awt.geom.Point2D.Double translate

detailLevel

int detailLevel

editor

DrawingEditor editor

emptyDrawingLabel

javax.swing.JLabel emptyDrawingLabel

handleInvalidator

FigureListener handleInvalidator

changeHandler

javax.swing.event.ChangeListener changeHandler

cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea

eventHandler

org.jhotdraw.draw.DefaultDrawingView.EventHandler eventHandler

backgroundTile

java.awt.image.BufferedImage backgroundTile

buttonGroup1

javax.swing.ButtonGroup buttonGroup1

Class org.jhotdraw.draw.DefaultDrawingViewTransferHandler extends javax.swing.TransferHandler implements Serializable

Class org.jhotdraw.draw.DelegationSelectionTool extends SelectionTool implements Serializable

Serialized Fields

drawingActions

java.util.Collection<E> drawingActions
A set of actions which is applied to the drawing.


selectionActions

java.util.Collection<E> selectionActions
A set of actions which is applied to a selection of figures.


popupTimer

javax.swing.Timer popupTimer
We use this timer, to show a popup menu, when the user presses the mouse key for a second without moving the mouse.


popupMenu

javax.swing.JPopupMenu popupMenu
When the popup menu is visible, we do not track mouse movements.


lastClickEvent

java.awt.event.MouseEvent lastClickEvent
We store the last mouse click here, to support multi-click behavior, that is, a behavior that is invoked, when the user clicks multiple on the same spot, but in a longer interval than needed for a double click.

Class org.jhotdraw.draw.DiamondFigure extends AbstractAttributedFigure implements Serializable

Serialized Fields

rectangle

java.awt.geom.Rectangle2D.Double rectangle
The bounds of the diamond figure.

Class org.jhotdraw.draw.DragTracker extends AbstractTool implements Serializable

Serialized Fields

anchorFigure

Figure anchorFigure

dragRect

java.awt.geom.Rectangle2D.Double dragRect
The drag rectangle encompasses the bounds of all dragged figures.


previousOrigin

java.awt.geom.Point2D.Double previousOrigin
The previousOrigin holds the origin of all dragged figures of the previous mouseDragged event. This coordinate is constrained using the Constrainer of the DrawingView.


anchorOrigin

java.awt.geom.Point2D.Double anchorOrigin
The anchorOrigin holds the origin of all dragged figures of the mousePressed event.


previousPoint

java.awt.geom.Point2D.Double previousPoint
The previousPoint holds the location of the mouse of the previous mouseDragged event. This coordinate is not constrained using the Constrainer of the DrawingView.


anchorPoint

java.awt.geom.Point2D.Double anchorPoint
The anchorPoint holds the location of the mouse of the mousePressed event. This coordinate is not constrained using the Constrainer of the DrawingView.


isDragging

boolean isDragging

Class org.jhotdraw.draw.ElbowLiner extends java.lang.Object implements Serializable

Serialized Fields

shoulderSize

double shoulderSize

Class org.jhotdraw.draw.EllipseFigure extends AbstractAttributedFigure implements Serializable

Serialized Fields

ellipse

java.awt.geom.Ellipse2D.Double ellipse

Class org.jhotdraw.draw.FigureEvent extends java.util.EventObject implements Serializable

Serialized Fields

invalidatedArea

java.awt.geom.Rectangle2D.Double invalidatedArea

attribute

AttributeKey<T> attribute

oldValue

java.lang.Object oldValue

newValue

java.lang.Object newValue

Class org.jhotdraw.draw.FigureSelectionEvent extends java.util.EventObject implements Serializable

Serialized Fields

oldValue

java.util.Set<E> oldValue

newValue

java.util.Set<E> newValue

Class org.jhotdraw.draw.GeneralPathTip extends AbstractLineDecoration implements Serializable

Serialized Fields

path

java.awt.geom.GeneralPath path

decorationRadius

double decorationRadius

Class org.jhotdraw.draw.GeometryEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Serialized Fields

owner

Figure owner

oldGeometry

java.lang.Object oldGeometry

newGeometry

java.lang.Object newGeometry

Class org.jhotdraw.draw.GraphicalCompositeFigure extends AbstractCompositeFigure implements Serializable

Serialized Fields

attributes

java.util.HashMap<K,V> attributes

forbiddenAttributes

java.util.HashSet<E> forbiddenAttributes

presentationFigure

Figure presentationFigure
Figure which performs all presentation tasks for this BasicCompositeFigure as CompositeFigures usually don't have an own presentation but present only the sum of all its children.


presentationFigureHandler

org.jhotdraw.draw.GraphicalCompositeFigure.PresentationFigureHandler presentationFigureHandler
Handles figure changes in the children.

Class org.jhotdraw.draw.GridConstrainer extends AbstractConstrainer implements Serializable

Serialized Fields

width

double width
The width of a minor grid cell. The value 0 turns the constrainer off for the horizontal axis.


height

double height
The height of a minor grid cell. The value 0 turns the constrainer off for the vertical axis.


theta

double theta
The theta for constrained rotations on the grid. The value 0 turns the constrainer off for rotations.


isVisible

boolean isVisible
If this variable is true, the grid is drawn. Note: Grid cells are only drawn, if they are at least two pixels apart on the view coordinate system.


majorGridSpacing

int majorGridSpacing
The spacing factor for a major grid cell.

Class org.jhotdraw.draw.GroupFigure extends AbstractCompositeFigure implements Serializable

Class org.jhotdraw.draw.HandleEvent extends java.util.EventObject implements Serializable

Serialized Fields

invalidatedArea

java.awt.Rectangle invalidatedArea

Class org.jhotdraw.draw.HandleTracker extends AbstractTool implements Serializable

Serialized Fields

masterHandle

Handle masterHandle

multicaster

HandleMulticaster multicaster

anchor

java.awt.Point anchor

Class org.jhotdraw.draw.ImageFigure extends AbstractAttributedDecoratedFigure implements Serializable

Serialized Fields

rectangle

java.awt.geom.Rectangle2D.Double rectangle
This rectangle describes the bounds into which we draw the image.


imageData

byte[] imageData
The image data. This can be null, if the image was created from a BufferedImage.


bufferedImage

java.awt.image.BufferedImage bufferedImage
The buffered image. This can be null, if we haven't yet parsed the imageData.

Class org.jhotdraw.draw.ImageTool extends CreationTool implements Serializable

Serialized Fields

fileChooser

javax.swing.JFileChooser fileChooser

Class org.jhotdraw.draw.LabeledLineConnectionFigure extends LineConnectionFigure implements Serializable

Serialized Fields

layouter

Layouter layouter

children

java.util.ArrayList<E> children

cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea

childHandler

org.jhotdraw.draw.LabeledLineConnectionFigure.ChildHandler childHandler
Handles figure changes in the children.

Class org.jhotdraw.draw.LabelFigure extends TextFigure implements Serializable

Serialized Fields

target

TextHolderFigure target

Class org.jhotdraw.draw.LineConnectionFigure extends LineFigure implements Serializable

Serialized Fields

startConnector

Connector startConnector

endConnector

Connector endConnector

liner

Liner liner

connectionHandler

org.jhotdraw.draw.LineConnectionFigure.ConnectionHandler connectionHandler
Handles figure changes in the start and the end figure.

Class org.jhotdraw.draw.LineFigure extends BezierFigure implements Serializable

Class org.jhotdraw.draw.ListFigure extends GraphicalCompositeFigure implements Serializable

Class org.jhotdraw.draw.LocatorConnector extends AbstractConnector implements Serializable

Serialized Fields

locator

Locator locator

Class org.jhotdraw.draw.PerpendicularBar extends AbstractLineDecoration implements Serializable

Serialized Fields

height

double height

Class org.jhotdraw.draw.QuadTreeCompositeFigure extends AbstractCompositeFigure implements Serializable

Serialized Fields

children

java.util.ArrayList<E> children

quadTree

QuadTree<T> quadTree

needsSorting

boolean needsSorting

figureHandler

QuadTreeCompositeFigure.FigureHandler figureHandler

canvasSize

Dimension2DDouble canvasSize

Class org.jhotdraw.draw.QuadTreeDrawing extends AbstractDrawing implements Serializable

Serialized Fields

quadTree

QuadTree<T> quadTree

needsSorting

boolean needsSorting

canvasSize

Dimension2DDouble canvasSize

Class org.jhotdraw.draw.RectangleFigure extends AbstractAttributedFigure implements Serializable

Serialized Fields

rectangle

java.awt.geom.Rectangle2D.Double rectangle

Class org.jhotdraw.draw.RestoreDataEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Serialized Fields

figure

Figure figure

oldRestoreData

java.lang.Object oldRestoreData

newRestoreData

java.lang.Object newRestoreData

Class org.jhotdraw.draw.RoundRectangleFigure extends AbstractAttributedFigure implements Serializable

Serialized Fields

roundrect

java.awt.geom.RoundRectangle2D.Double roundrect

Class org.jhotdraw.draw.SelectAreaTracker extends AbstractTool implements Serializable

Serialized Fields

rubberband

java.awt.Rectangle rubberband
The bounds of the rubberband.


rubberbandColor

java.awt.Color rubberbandColor
Rubberband color. When this is null, the tracker does not draw the rubberband.


rubberbandStroke

java.awt.Stroke rubberbandStroke
Rubberband stroke.

Class org.jhotdraw.draw.SelectionTool extends AbstractTool implements Serializable

Serialized Fields

tracker

Tool tracker
The tracker encapsulates the current state of the SelectionTool.


isSelectBehindEnabled

boolean isSelectBehindEnabled
Represents the state of the selectBehindEnabled property. By default, this property is set to true.

Class org.jhotdraw.draw.SetBoundsEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Serialized Fields

owner

AbstractFigure owner

oldAnchor

java.awt.geom.Point2D.Double oldAnchor

oldLead

java.awt.geom.Point2D.Double oldLead

newAnchor

java.awt.geom.Point2D.Double newAnchor

newLead

java.awt.geom.Point2D.Double newLead

Class org.jhotdraw.draw.SlantedLiner extends java.lang.Object implements Serializable

Serialized Fields

slantSize

double slantSize

Class org.jhotdraw.draw.StickyRectangleConnector extends ChopRectangleConnector implements Serializable

Serialized Fields

angle

float angle

Class org.jhotdraw.draw.TextAreaFigure extends AbstractAttributedDecoratedFigure implements Serializable

Serialized Fields

bounds

java.awt.geom.Rectangle2D.Double bounds

editable

boolean editable

isTextOverflow

java.lang.Boolean isTextOverflow
This is a cached value to improve the performance of method isTextOverflow();

Class org.jhotdraw.draw.TextAreaTool extends CreationTool implements Serializable

Serialized Fields

textArea

FloatingTextArea textArea

typingTarget

TextHolderFigure typingTarget

isForCreationOnly

boolean isForCreationOnly
By default this tool is only used for the creation of new TextAreaFigures. If this variable is set to false, the tool is used to create new TextAreaFigures and edit existing TextAreaFigures.


rubberbandColor

java.awt.Color rubberbandColor
Rubberband color of the tool. When this is null, the tool does not draw a rubberband.

Class org.jhotdraw.draw.TextFigure extends AbstractAttributedDecoratedFigure implements Serializable

Serialized Fields

origin

java.awt.geom.Point2D.Double origin

editable

boolean editable

Class org.jhotdraw.draw.TextTool extends CreationTool implements Serializable

Serialized Fields

textField

FloatingTextField textField

typingTarget

TextHolderFigure typingTarget

isForCreationOnly

boolean isForCreationOnly
By default this tool is only used for the creation of new TextHolderFigures. If this variable is set to false, the tool is used to create new TextHolderFigure and edit existing TextHolderFigure.

Class org.jhotdraw.draw.ToolEvent extends java.util.EventObject implements Serializable

Serialized Fields

invalidatedArea

java.awt.Rectangle invalidatedArea

view

DrawingView view

Class org.jhotdraw.draw.TransformEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Serialized Fields

figures

java.util.Collection<E> figures
Implementation note: Owner has package access, because it is accessed by CompositeMoveEdit.


tx

java.awt.geom.AffineTransform tx

Class org.jhotdraw.draw.TriangleFigure extends AbstractAttributedFigure implements Serializable

Serialized Fields

rectangle

java.awt.geom.Rectangle2D.Double rectangle
The bounds of the triangle figure.


Package org.jhotdraw.draw.action

Class org.jhotdraw.draw.action.AbstractEditorAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

editor

DrawingEditor editor

propertyChangeHandler

java.beans.PropertyChangeListener propertyChangeHandler

Class org.jhotdraw.draw.action.AbstractSelectedAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

editor

DrawingEditor editor

labels

ResourceBundleUtil labels

propertyChangeHandler

java.beans.PropertyChangeListener propertyChangeHandler

eventHandler

org.jhotdraw.draw.action.AbstractSelectedAction.EventHandler eventHandler

Class org.jhotdraw.draw.action.AbstractViewAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

editor

DrawingEditor editor

view

DrawingView view

propertyChangeHandler

java.beans.PropertyChangeListener propertyChangeHandler

Class org.jhotdraw.draw.action.AlignAction extends AbstractSelectedAction implements Serializable

Class org.jhotdraw.draw.action.AlignAction.East extends AlignAction implements Serializable

Class org.jhotdraw.draw.action.AlignAction.Horizontal extends AlignAction implements Serializable

Class org.jhotdraw.draw.action.AlignAction.North extends AlignAction implements Serializable

Class org.jhotdraw.draw.action.AlignAction.South extends AlignAction implements Serializable

Class org.jhotdraw.draw.action.AlignAction.Vertical extends AlignAction implements Serializable

Class org.jhotdraw.draw.action.AlignAction.West extends AlignAction implements Serializable

Class org.jhotdraw.draw.action.ApplyAttributesAction extends AbstractSelectedAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

excludedAttributes

java.util.Set<E> excludedAttributes

Class org.jhotdraw.draw.action.AttributeAction extends AbstractSelectedAction implements Serializable

Serialized Fields

attributes

java.util.Map<K,V> attributes

Class org.jhotdraw.draw.action.AttributeToggler extends javax.swing.AbstractAction implements Serializable

Serialized Fields

editor

DrawingEditor editor

key

AttributeKey<T> key

value1

java.lang.Object value1

value2

java.lang.Object value2

compatibleTextAction

javax.swing.Action compatibleTextAction

Class org.jhotdraw.draw.action.DefaultAttributeAction extends AbstractSelectedAction implements Serializable

Serialized Fields

keys

AttributeKey<T>[] keys

fixedAttributes

java.util.Map<K,V> fixedAttributes

Class org.jhotdraw.draw.action.DrawingEditorProxy extends AbstractBean implements Serializable

Serialized Fields

target

DrawingEditor target

forwarder

java.beans.PropertyChangeListener forwarder

Class org.jhotdraw.draw.action.EditDrawingAction extends AbstractEditorAction implements Serializable

Serialized Fields

frame

javax.swing.JFrame frame

settingsPanel

EditDrawingPanel settingsPanel

propertyChangeHandler

java.beans.PropertyChangeListener propertyChangeHandler

app

Application app

Class org.jhotdraw.draw.action.EditDrawingPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

drawing

Drawing drawing

backgroundOpacitySlider

javax.swing.JSlider backgroundOpacitySlider

colorChooser

javax.swing.JColorChooser colorChooser

bgColorButtonGroup

javax.swing.ButtonGroup bgColorButtonGroup

colorButton

javax.swing.JButton colorButton

colorLabel

javax.swing.JLabel colorLabel

opacityField

JDoubleTextField opacityField

opacityLabel

javax.swing.JLabel opacityLabel

opacityPopupButton

JPopupButton opacityPopupButton

Class org.jhotdraw.draw.action.EditGridAction extends AbstractEditorAction implements Serializable

Serialized Fields

dialog

javax.swing.JDialog dialog

settingsPanel

EditGridPanel settingsPanel

propertyChangeHandler

java.beans.PropertyChangeListener propertyChangeHandler

app

Application app

Class org.jhotdraw.draw.action.EditGridPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

constrainer

GridConstrainer constrainer

heightField

JDoubleTextField heightField

heightLabel

javax.swing.JLabel heightLabel

thetaField

JDoubleTextField thetaField

thetaLabel

javax.swing.JLabel thetaLabel

widthField

JDoubleTextField widthField

widthLabel

javax.swing.JLabel widthLabel

Class org.jhotdraw.draw.action.EditorColorChooserAction extends AbstractSelectedAction implements Serializable

Serialized Fields

key

AttributeKey<T> key

fixedAttributes

java.util.HashMap<K,V> fixedAttributes

Class org.jhotdraw.draw.action.EditorColorIcon extends javax.swing.ImageIcon implements Serializable

Serialized Fields

editor

DrawingEditor editor

key

AttributeKey<T> key

colorShape

java.awt.Shape colorShape

Class org.jhotdraw.draw.action.GroupAction extends AbstractSelectedAction implements Serializable

Serialized Fields

prototype

CompositeFigure prototype

isGroupingAction

boolean isGroupingAction
If this variable is true, this action groups figures. If this variable is false, this action ungroups figures.

Class org.jhotdraw.draw.action.MoveAction extends AbstractSelectedAction implements Serializable

Serialized Fields

dx

int dx

dy

int dy

Class org.jhotdraw.draw.action.MoveAction.East extends MoveAction implements Serializable

Class org.jhotdraw.draw.action.MoveAction.North extends MoveAction implements Serializable

Class org.jhotdraw.draw.action.MoveAction.South extends MoveAction implements Serializable

Class org.jhotdraw.draw.action.MoveAction.West extends MoveAction implements Serializable

Class org.jhotdraw.draw.action.MoveConstrainedAction extends AbstractSelectedAction implements Serializable

Serialized Fields

dir

TranslationDirection dir

Class org.jhotdraw.draw.action.MoveConstrainedAction.East extends MoveConstrainedAction implements Serializable

Class org.jhotdraw.draw.action.MoveConstrainedAction.North extends MoveConstrainedAction implements Serializable

Class org.jhotdraw.draw.action.MoveConstrainedAction.South extends MoveConstrainedAction implements Serializable

Class org.jhotdraw.draw.action.MoveConstrainedAction.West extends MoveConstrainedAction implements Serializable

Class org.jhotdraw.draw.action.MoveToBackAction extends AbstractSelectedAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

Class org.jhotdraw.draw.action.MoveToFrontAction extends AbstractSelectedAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

Class org.jhotdraw.draw.action.PickAttributesAction extends AbstractSelectedAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

excludedAttributes

java.util.Set<E> excludedAttributes

Class org.jhotdraw.draw.action.SelectionColorChooserAction extends EditorColorChooserAction implements Serializable

Class org.jhotdraw.draw.action.SelectionColorIcon extends javax.swing.ImageIcon implements Serializable

Serialized Fields

editor

DrawingEditor editor

key

AttributeKey<T> key

colorShape

java.awt.Shape colorShape

Class org.jhotdraw.draw.action.SelectSameAction extends AbstractSelectedAction implements Serializable

Class org.jhotdraw.draw.action.ToggleGridAction extends AbstractEditorAction implements Serializable

Serialized Fields

label

java.lang.String label

Class org.jhotdraw.draw.action.UngroupAction extends GroupAction implements Serializable

Serialized Fields

prototype

CompositeFigure prototype
Creates a new instance.

Class org.jhotdraw.draw.action.VerticalGridLayout extends java.lang.Object implements Serializable

Serialized Fields

hgap

int hgap

vgap

int vgap

rows

int rows

cols

int cols

isVertical

boolean isVertical

Class org.jhotdraw.draw.action.ZoomAction extends AbstractViewAction implements Serializable

Serialized Fields

scaleFactor

double scaleFactor

button

javax.swing.AbstractButton button

label

java.lang.String label

Class org.jhotdraw.draw.action.ZoomEditorAction extends AbstractEditorAction implements Serializable

Serialized Fields

scaleFactor

double scaleFactor

button

javax.swing.AbstractButton button

label

java.lang.String label

updateAllViews

boolean updateAllViews

Package org.jhotdraw.geom

Class org.jhotdraw.geom.BezierPath extends java.util.ArrayList<BezierPath.Node> implements Serializable

Serialized Fields

outer

int outer
We cache the index of the outermost node to speed up method indexOfOutermostNode();


isClosed

boolean isClosed
If this value is set to true, closes the bezier path.


windingRule

int windingRule
The winding rule for filling the bezier path.

Class org.jhotdraw.geom.Dimension2DDouble extends java.awt.geom.Dimension2D implements Serializable

Serialized Fields

width

double width
The width dimension; negative values can be used.

 
See Also:
Dimension2DDouble.getSize(), Dimension2DDouble.setSize(double, double)

height

double height
The height dimension; negative values can be used.

 
See Also:
Dimension2DDouble.getSize(), Dimension2DDouble.setSize(double, double)

Package org.jhotdraw.gui

Class org.jhotdraw.gui.JDoubleAttributeField extends javax.swing.JFormattedTextField implements Serializable

Serialized Fields

scaleFactor

double scaleFactor

min

double min

max

double max

attributeKey

AttributeKey<T> attributeKey

isMultipleValues

boolean isMultipleValues

labels

ResourceBundleUtil labels

isUpdatingField

int isUpdatingField

eventHandler

AttributeFieldEventHandler eventHandler

Class org.jhotdraw.gui.JDoubleAttributeSlider extends javax.swing.JSlider implements Serializable

Serialized Fields

scaleFactor

double scaleFactor

editor

DrawingEditor editor

attributeKey

AttributeKey<T> attributeKey

isMultipleValues

boolean isMultipleValues

labels

ResourceBundleUtil labels

isUpdatingSlider

int isUpdatingSlider

attributeRestoreData

java.util.LinkedList<E> attributeRestoreData

viewEventHandler

java.beans.PropertyChangeListener viewEventHandler

eventHandler

org.jhotdraw.gui.JDoubleAttributeSlider.EditorEventHandler eventHandler

changeHandler

org.jhotdraw.gui.JDoubleAttributeSlider.ChangeHandler changeHandler

Class org.jhotdraw.gui.JDoubleTextField extends javax.swing.JTextField implements Serializable

Serialized Fields

value

double value

minimum

double minimum

maximum

double maximum

format

java.text.DecimalFormat format

updatingDepth

int updatingDepth
This variable is used to prevent endless update loops. We increase its value on each entry in one of the update methods and decrease it on each exit.


documentHandler

org.jhotdraw.gui.JDoubleTextField.DocumentHandler documentHandler

Class org.jhotdraw.gui.JIntegerTextField extends javax.swing.JTextField implements Serializable

Serialized Fields

value

int value

minimum

int minimum

maximum

int maximum

documentHandler

org.jhotdraw.gui.JIntegerTextField.DocumentHandler documentHandler

Class org.jhotdraw.gui.JPopupButton extends javax.swing.JButton implements Serializable

Serialized Fields

popupMenu

javax.swing.JPopupMenu popupMenu

columnCount

int columnCount

action

javax.swing.Action action

actionArea

java.awt.Rectangle actionArea

itemFont

java.awt.Font itemFont

actionPropertyHandler

org.jhotdraw.gui.JPopupButton.ActionPropertyHandler actionPropertyHandler

Class org.jhotdraw.gui.JSheet extends javax.swing.JDialog implements Serializable

Serialized Fields

listenerList

javax.swing.event.EventListenerList listenerList
Event listener list.


ownerMovementHandler

java.awt.event.ComponentListener ownerMovementHandler
This handler is used to handle movements of the owner. If the owner moves, we have to change the location of the sheet as well.


shiftBackLocation

java.awt.Point shiftBackLocation
If this is non-null, we put the owner to the specified location, when the sheet is hidden.


oldLocation

java.awt.Point oldLocation
We need to keep track of the old owner position, in order to avoid processing duplicate owner moved events.


oldFocusOwner

java.awt.Component oldFocusOwner
Focus owner on the owner window, before the sheet is shown.


isInstalled

boolean isInstalled
This is set to true, when the listeners for the JSheet are installed on the parent component.


isAnimated

boolean isAnimated
If this is set to true, the JSheet uses a transition effect when shown and when hidden.


ownersGlassPane

java.awt.Component ownersGlassPane
This variable is only used in Java 1.5 and previous versions. In order to make the sheet document modal, we have to block events on the owner window. We do this by setting a JPanel as the glass pane on the owner window. Before we do this, we store the glass pane of the owner window here, and restore it after we have finished.

Class org.jhotdraw.gui.JStringAttributeArea extends javax.swing.JTextArea implements Serializable

Serialized Fields

editor

DrawingEditor editor

attributeKey

AttributeKey<T> attributeKey

isMultipleValues

boolean isMultipleValues

labels

ResourceBundleUtil labels

isUpdatingField

int isUpdatingField

viewEventHandler

java.beans.PropertyChangeListener viewEventHandler

eventHandler

org.jhotdraw.gui.JStringAttributeArea.EditorEventHandler eventHandler

Class org.jhotdraw.gui.JStringAttributeField extends javax.swing.JTextField implements Serializable

Serialized Fields

editor

DrawingEditor editor

attributeKey

AttributeKey<T> attributeKey

isMultipleValues

boolean isMultipleValues

labels

ResourceBundleUtil labels

isUpdatingField

int isUpdatingField

viewEventHandler

java.beans.PropertyChangeListener viewEventHandler

eventHandler

org.jhotdraw.gui.JStringAttributeField.EditorEventHandler eventHandler

Class org.jhotdraw.gui.MDIDesktopPane extends javax.swing.JDesktopPane implements Serializable

Serialized Fields

manager

org.jhotdraw.gui.MDIDesktopManager manager

Class org.jhotdraw.gui.PlacardScrollPaneLayout extends javax.swing.ScrollPaneLayout implements Serializable

Class org.jhotdraw.gui.PlacardScrollPaneLayout.UIResource extends PlacardScrollPaneLayout implements Serializable


Package org.jhotdraw.gui.event

Class org.jhotdraw.gui.event.SheetEvent extends java.util.EventObject implements Serializable

Serialized Fields

pane

javax.swing.JComponent pane

option

int option

value

java.lang.Object value

inputValue

java.lang.Object inputValue

Package org.jhotdraw.samples.draw

Class org.jhotdraw.samples.draw.DrawApplet extends javax.swing.JApplet implements Serializable

Serialized Fields

drawingPanel

DrawingPanel drawingPanel

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

Class org.jhotdraw.samples.draw.DrawApplicationModel extends DefaultApplicationModel implements Serializable

Serialized Fields

sharedEditor

DefaultDrawingEditor sharedEditor
This editor is shared by all views.

Class org.jhotdraw.samples.draw.DrawingPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

undoManager

UndoRedoManager undoManager

drawing

Drawing drawing

editor

DrawingEditor editor

attributesToolbar

javax.swing.JToolBar attributesToolbar

creationToolbar

javax.swing.JToolBar creationToolbar

jPanel1

javax.swing.JPanel jPanel1

scrollPane

javax.swing.JScrollPane scrollPane

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

view

DefaultDrawingView view

Class org.jhotdraw.samples.draw.DrawLiveConnectApplet extends javax.swing.JApplet implements Serializable

Serialized Fields

drawingPanel

DrawingPanel drawingPanel

jToolBar1

javax.swing.JToolBar jToolBar1

loadButton

javax.swing.JButton loadButton

saveButton

javax.swing.JButton saveButton

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

Class org.jhotdraw.samples.draw.DrawView extends AbstractView implements Serializable

Serialized Fields

undo

UndoRedoManager undo
Each DrawView uses its own undo redo manager. This allows for undoing and redoing actions per view.


editor

DrawingEditor editor
Depending on the type of an application, there may be one editor per view, or a single shared editor for all views.


scrollPane

javax.swing.JScrollPane scrollPane

view

DefaultDrawingView view

Package org.jhotdraw.samples.mini

Class org.jhotdraw.samples.mini.StraightLineFigure extends AbstractAttributedFigure implements Serializable

Serialized Fields

line

java.awt.geom.Line2D.Double line

Package org.jhotdraw.samples.net

Class org.jhotdraw.samples.net.NetApplet extends javax.swing.JApplet implements Serializable

Serialized Fields

drawingPanel

NetPanel drawingPanel

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

Class org.jhotdraw.samples.net.NetApplicationModel extends DefaultApplicationModel implements Serializable

Serialized Fields

sharedEditor

DefaultDrawingEditor sharedEditor
This editor is shared by all views.


actions

java.util.HashMap<K,V> actions

Class org.jhotdraw.samples.net.NetPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

undoManager

UndoRedoManager undoManager

drawing

Drawing drawing

editor

DrawingEditor editor

attributesToolbar

javax.swing.JToolBar attributesToolbar

creationToolbar

javax.swing.JToolBar creationToolbar

jPanel1

javax.swing.JPanel jPanel1

scrollPane

javax.swing.JScrollPane scrollPane

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

view

DefaultDrawingView view

Class org.jhotdraw.samples.net.NetView extends AbstractView implements Serializable

Serialized Fields

undo

UndoRedoManager undo
Each NetView uses its own undo redo manager. This allows for undoing and redoing actions per view.


editor

DrawingEditor editor
Depending on the type of an application, there may be one editor per view, or a single shared editor for all views.


prefs

java.util.prefs.Preferences prefs

toggleGridButton

javax.swing.AbstractButton toggleGridButton

scrollPane

javax.swing.JScrollPane scrollPane

view

DefaultDrawingView view

Package org.jhotdraw.samples.net.figures

Class org.jhotdraw.samples.net.figures.NodeFigure extends TextFigure implements Serializable

Serialized Fields

connectors

java.util.LinkedList<E> connectors

Package org.jhotdraw.samples.odg

Class org.jhotdraw.samples.odg.ODGApplicationModel extends DefaultApplicationModel implements Serializable

Serialized Fields

sharedEditor

DefaultDrawingEditor sharedEditor
This editor is shared by all views.

Class org.jhotdraw.samples.odg.ODGDrawing extends QuadTreeDrawing implements Serializable

Serialized Fields

title

java.lang.String title

description

java.lang.String description

Class org.jhotdraw.samples.odg.ODGDrawingPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

undoManager

UndoRedoManager undoManager

drawing

Drawing drawing

editor

DrawingEditor editor

attributesToolbar

javax.swing.JToolBar attributesToolbar

creationToolbar

javax.swing.JToolBar creationToolbar

jPanel1

javax.swing.JPanel jPanel1

scrollPane

javax.swing.JScrollPane scrollPane

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

view

DefaultDrawingView view

Class org.jhotdraw.samples.odg.ODGPropertiesPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

editor

DrawingEditor editor

opacitySlider

JDoubleAttributeSlider opacitySlider

linkField

JStringAttributeField linkField

linkLabel

javax.swing.JLabel linkLabel

opacityField

JDoubleAttributeField opacityField

opacityLabel

javax.swing.JLabel opacityLabel

opacityPopupButton

JPopupButton opacityPopupButton

Class org.jhotdraw.samples.odg.ODGView extends AbstractView implements Serializable

Serialized Fields

exportChooser

javax.swing.JFileChooser exportChooser

undo

UndoRedoManager undo
Each ODGView uses its own undo redo manager. This allows for undoing and redoing actions per view.


editor

DrawingEditor editor
Depending on the type of an application, there may be one editor per view, or a single shared editor for all views.


fileFilterInputFormatMap

java.util.HashMap<K,V> fileFilterInputFormatMap

fileFilterOutputFormatMap

java.util.HashMap<K,V> fileFilterOutputFormatMap

visibleConstrainer

GridConstrainer visibleConstrainer

invisibleConstrainer

GridConstrainer invisibleConstrainer

prefs

java.util.prefs.Preferences prefs

propertiesPanel

ODGPropertiesPanel propertiesPanel

scrollPane

javax.swing.JScrollPane scrollPane

view

DefaultDrawingView view

Class org.jhotdraw.samples.odg.PathTool extends BezierTool implements Serializable

Serialized Fields

pathPrototype

SVGPathFigure pathPrototype
The path prototype for new figures.


Package org.jhotdraw.samples.odg.action

Class org.jhotdraw.samples.odg.action.CombineAction extends GroupAction implements Serializable

Class org.jhotdraw.samples.odg.action.SplitAction extends UngroupAction implements Serializable

Class org.jhotdraw.samples.odg.action.TogglePropertiesPanelAction extends AbstractViewAction implements Serializable


Package org.jhotdraw.samples.odg.figures

Class org.jhotdraw.samples.odg.figures.ODGAttributedFigure extends AbstractAttributedFigure implements Serializable

Class org.jhotdraw.samples.odg.figures.ODGBezierFigure extends BezierFigure implements Serializable

Serialized Fields

cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea

Class org.jhotdraw.samples.odg.figures.ODGEllipseFigure extends ODGAttributedFigure implements Serializable

Serialized Fields

ellipse

java.awt.geom.Ellipse2D.Double ellipse

cachedTransformedShape

java.awt.Shape cachedTransformedShape
This is used to perform faster drawing and hit testing.

Class org.jhotdraw.samples.odg.figures.ODGGroupFigure extends GroupFigure implements Serializable

Serialized Fields

attributes

java.util.HashMap<K,V> attributes

Class org.jhotdraw.samples.odg.figures.ODGPathFigure extends AbstractAttributedCompositeFigure implements Serializable

Serialized Fields

cachedPath

java.awt.geom.GeneralPath cachedPath
This cachedPath is used for drawing.


cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea

Class org.jhotdraw.samples.odg.figures.ODGRectFigure extends ODGAttributedFigure implements Serializable

Serialized Fields

roundrect

java.awt.geom.RoundRectangle2D.Double roundrect

cachedTransformedShape

java.awt.Shape cachedTransformedShape
This is used to perform faster drawing.


cachedHitShape

java.awt.Shape cachedHitShape
This is used to perform faster hit testing.


Package org.jhotdraw.samples.odg.geom

Class org.jhotdraw.samples.odg.geom.EnhancedPath extends java.util.ArrayList<EnhancedPath.Segment> implements Serializable

Serialized Fields

windingRule

int windingRule
The winding rule for filling the bezier path.


Package org.jhotdraw.samples.pert

Class org.jhotdraw.samples.pert.PertApplet extends javax.swing.JApplet implements Serializable

Serialized Fields

drawingPanel

PertPanel drawingPanel

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

Class org.jhotdraw.samples.pert.PertApplicationModel extends DefaultApplicationModel implements Serializable

Serialized Fields

sharedEditor

DefaultDrawingEditor sharedEditor
This editor is shared by all views.


actions

java.util.HashMap<K,V> actions

Class org.jhotdraw.samples.pert.PertPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

undoManager

UndoRedoManager undoManager

drawing

Drawing drawing

editor

DrawingEditor editor

attributesToolbar

javax.swing.JToolBar attributesToolbar

creationToolbar

javax.swing.JToolBar creationToolbar

jPanel1

javax.swing.JPanel jPanel1

scrollPane

javax.swing.JScrollPane scrollPane

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

view

DefaultDrawingView view

Class org.jhotdraw.samples.pert.PertView extends AbstractView implements Serializable

Serialized Fields

undo

UndoRedoManager undo
Each view uses its own undo redo manager. This allows for undoing and redoing actions per view.


editor

DrawingEditor editor
Depending on the type of an application, there may be one editor per view, or a single shared editor for all views.


prefs

java.util.prefs.Preferences prefs

scrollPane

javax.swing.JScrollPane scrollPane

view

DefaultDrawingView view

Package org.jhotdraw.samples.pert.figures

Class org.jhotdraw.samples.pert.figures.DependencyFigure extends LineConnectionFigure implements Serializable

Class org.jhotdraw.samples.pert.figures.SeparatorLineFigure extends LineFigure implements Serializable

Class org.jhotdraw.samples.pert.figures.TaskFigure extends GraphicalCompositeFigure implements Serializable

Serialized Fields

dependencies

java.util.HashSet<E> dependencies

startTime

int startTime
Derived attribute. We cache it here for efficiency reasons.


Package org.jhotdraw.samples.svg

Class org.jhotdraw.samples.svg.PathTool extends BezierTool implements Serializable

Serialized Fields

pathPrototype

SVGPathFigure pathPrototype
The path prototype for new figures.

Class org.jhotdraw.samples.svg.SVGApplet extends javax.swing.JApplet implements Serializable

Serialized Fields

drawingPanel

SVGDrawingPanel drawingPanel

Class org.jhotdraw.samples.svg.SVGApplicationModel extends DefaultApplicationModel implements Serializable

Serialized Fields

gridConstrainer

GridConstrainer gridConstrainer

sharedEditor

DefaultDrawingEditor sharedEditor
This editor is shared by all views.

Class org.jhotdraw.samples.svg.SVGDrawingPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

undoManager

UndoRedoManager undoManager

drawing

Drawing drawing

editor

DrawingEditor editor

attributesToolbar

javax.swing.JToolBar attributesToolbar

creationToolbar

javax.swing.JToolBar creationToolbar

jPanel1

javax.swing.JPanel jPanel1

scrollPane

javax.swing.JScrollPane scrollPane

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

view

DefaultDrawingView view

Class org.jhotdraw.samples.svg.SVGPropertiesPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

editor

DrawingEditor editor

opacitySlider

JDoubleAttributeSlider opacitySlider

linkField

JStringAttributeField linkField

linkLabel

javax.swing.JLabel linkLabel

opacityField

JDoubleAttributeField opacityField

opacityLabel

javax.swing.JLabel opacityLabel

opacityPopupButton

JPopupButton opacityPopupButton

Class org.jhotdraw.samples.svg.SVGView extends AbstractView implements Serializable

Serialized Fields

exportChooser

javax.swing.JFileChooser exportChooser

undo

UndoRedoManager undo
Each SVGView uses its own undo redo manager. This allows for undoing and redoing actions per view.


editor

DrawingEditor editor
Depending on the type of an application, there may be one editor per view, or a single shared editor for all views.


fileFilterInputFormatMap

java.util.HashMap<K,V> fileFilterInputFormatMap

fileFilterOutputFormatMap

java.util.HashMap<K,V> fileFilterOutputFormatMap

prefs

java.util.prefs.Preferences prefs

propertiesPanel

SVGPropertiesPanel propertiesPanel

scrollPane

javax.swing.JScrollPane scrollPane

view

DefaultDrawingView view

Package org.jhotdraw.samples.svg.action

Class org.jhotdraw.samples.svg.action.CombineAction extends GroupAction implements Serializable

Class org.jhotdraw.samples.svg.action.SplitAction extends UngroupAction implements Serializable

Class org.jhotdraw.samples.svg.action.TogglePropertiesPanelAction extends AbstractViewAction implements Serializable

Class org.jhotdraw.samples.svg.action.ViewSourceAction extends AbstractViewAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

Package org.jhotdraw.samples.svg.figures

Class org.jhotdraw.samples.svg.figures.SVGAttributedFigure extends AbstractAttributedFigure implements Serializable

Class org.jhotdraw.samples.svg.figures.SVGBezierFigure extends BezierFigure implements Serializable

Serialized Fields

cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea

Class org.jhotdraw.samples.svg.figures.SVGEllipseFigure extends SVGAttributedFigure implements Serializable

Serialized Fields

ellipse

java.awt.geom.Ellipse2D.Double ellipse

cachedTransformedShape

java.awt.Shape cachedTransformedShape
This is used to perform faster drawing and hit testing.

Class org.jhotdraw.samples.svg.figures.SVGGroupFigure extends GroupFigure implements Serializable

Serialized Fields

attributes

java.util.HashMap<K,V> attributes

Class org.jhotdraw.samples.svg.figures.SVGImageFigure extends SVGAttributedFigure implements Serializable

Serialized Fields

rectangle

java.awt.geom.Rectangle2D.Double rectangle
This rectangle describes the bounds into which we draw the image.


cachedTransformedShape

java.awt.Shape cachedTransformedShape
This is used to perform faster drawing.


cachedHitShape

java.awt.Shape cachedHitShape
This is used to perform faster hit testing.


imageData

byte[] imageData
The image data. This can be null, if the image was created from a BufferedImage.


bufferedImage

java.awt.image.BufferedImage bufferedImage
The buffered image. This can be null, if we haven't yet parsed the imageData.

Class org.jhotdraw.samples.svg.figures.SVGPathFigure extends AbstractAttributedCompositeFigure implements Serializable

Serialized Fields

cachedPath

java.awt.geom.GeneralPath cachedPath
This cachedPath is used for drawing.


cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea

Class org.jhotdraw.samples.svg.figures.SVGRectFigure extends SVGAttributedFigure implements Serializable

Serialized Fields

roundrect

java.awt.geom.RoundRectangle2D.Double roundrect

cachedTransformedShape

java.awt.Shape cachedTransformedShape
This is used to perform faster drawing.


cachedHitShape

java.awt.Shape cachedHitShape
This is used to perform faster hit testing.

Class org.jhotdraw.samples.svg.figures.SVGTextAreaFigure extends SVGAttributedFigure implements Serializable

Serialized Fields

bounds

java.awt.geom.Rectangle2D.Double bounds

editable

boolean editable

isTextOverflow

java.lang.Boolean isTextOverflow
This is a cached value to improve the performance of method isTextOverflow();


cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea
This is used to perform faster drawing and hit testing.


cachedTextShape

java.awt.Shape cachedTextShape

Class org.jhotdraw.samples.svg.figures.SVGTextFigure extends SVGAttributedFigure implements Serializable

Serialized Fields

coordinates

java.awt.geom.Point2D.Double[] coordinates

rotates

double[] rotates

editable

boolean editable

cachedTextShape

java.awt.Shape cachedTextShape
This is used to perform faster drawing and hit testing.


cachedBounds

java.awt.geom.Rectangle2D.Double cachedBounds

cachedDrawingArea

java.awt.geom.Rectangle2D.Double cachedDrawingArea

Package org.jhotdraw.samples.teddy

Class org.jhotdraw.samples.teddy.CharacterSetAccessory extends javax.swing.JPanel implements Serializable

Serialized Fields

charSetCombo

javax.swing.JComboBox charSetCombo

charSetLabel

javax.swing.JLabel charSetLabel

lineSepCombo

javax.swing.JComboBox lineSepCombo

lineSepLabel

javax.swing.JLabel lineSepLabel

Class org.jhotdraw.samples.teddy.FindDialog extends javax.swing.JDialog implements Serializable

Serialized Fields

app

Application app

matcher

Matcher matcher

prefs

java.util.prefs.Preferences prefs

labels

ResourceBundleUtil labels

buttonPanel

javax.swing.JPanel buttonPanel

findField

javax.swing.JTextArea findField

findLabel

javax.swing.JLabel findLabel

findScrollPane

javax.swing.JScrollPane findScrollPane

ignoreCaseCheck

javax.swing.JCheckBox ignoreCaseCheck

modeCombo

javax.swing.JComboBox modeCombo

nextButton

javax.swing.JButton nextButton

optionsPanel

javax.swing.JPanel optionsPanel

previousButton

javax.swing.JButton previousButton

replaceAllButton

javax.swing.JButton replaceAllButton

replaceAndFindButton

javax.swing.JButton replaceAndFindButton

replaceButton

javax.swing.JButton replaceButton

replaceField

javax.swing.JTextArea replaceField

replaceLabel

javax.swing.JLabel replaceLabel

replaceScrollPane

javax.swing.JScrollPane replaceScrollPane

wrapAroundCheck

javax.swing.JCheckBox wrapAroundCheck

Class org.jhotdraw.samples.teddy.JEditorArea extends javax.swing.JEditorPane implements Serializable

Serialized Fields

wrap

boolean wrap

Class org.jhotdraw.samples.teddy.TeddyApplicationModel extends DefaultApplicationModel implements Serializable

Class org.jhotdraw.samples.teddy.TeddyView extends AbstractView implements Serializable

Serialized Fields

editor

javax.swing.JTextPane editor

editorViewport

org.jhotdraw.samples.teddy.TeddyView.EditorPanel editorViewport

undoManager

UndoRedoManager undoManager
The undo/redo manager.


findDialog

FindDialog findDialog
The panel used for the find feature.


matcher

Matcher matcher
The Matcher used to perform find operation.


characterSetAccessory

CharacterSetAccessory characterSetAccessory

caretInfoLabel

javax.swing.JLabel caretInfoLabel

scrollPane

javax.swing.JScrollPane scrollPane

statusBar

javax.swing.JPanel statusBar

Package org.jhotdraw.samples.teddy.action

Class org.jhotdraw.samples.teddy.action.FindAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

findDialog

FindDialog findDialog

app

Application app

labels

ResourceBundleUtil labels

Class org.jhotdraw.samples.teddy.action.ToggleLineNumbersAction extends AbstractViewAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

Class org.jhotdraw.samples.teddy.action.ToggleLineWrapAction extends AbstractViewAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

Class org.jhotdraw.samples.teddy.action.ToggleStatusBarAction extends AbstractViewAction implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

Package org.jhotdraw.samples.teddy.text

Class org.jhotdraw.samples.teddy.text.NumberedEditorKit extends javax.swing.text.StyledEditorKit implements Serializable

Serialized Fields

viewFactory

NumberedViewFactory viewFactory

Package org.jhotdraw.undo

Class org.jhotdraw.undo.CompositeEdit extends javax.swing.undo.CompoundEdit implements Serializable

Serialized Fields

presentationName

java.lang.String presentationName

isSignificant

boolean isSignificant

isVerbose

boolean isVerbose

Class org.jhotdraw.undo.NonUndoableEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Class org.jhotdraw.undo.UndoRedoManager extends javax.swing.undo.UndoManager implements Serializable

Serialized Fields

propertySupport

java.beans.PropertyChangeSupport propertySupport

hasSignificantEdits

boolean hasSignificantEdits
This flag is set to true when at least one significant UndoableEdit has been added to the manager since the last call to discardAllEdits.


undoOrRedoInProgress

boolean undoOrRedoInProgress
This flag is set to true when an undo or redo operation is in progress. The UndoRedoManager ignores all incoming UndoableEdit events while this flag is true.


undoAction

org.jhotdraw.undo.UndoRedoManager.UndoAction undoAction
The undo action instance.


redoAction

org.jhotdraw.undo.UndoRedoManager.RedoAction redoAction
The redo action instance.


Copyright 1996-2007 (c) JHotDraw.org.
Some rights reserved.