JHotDraw 7.4.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

unmodifiableViews

java.util.Collection<E> unmodifiableViews

isEnabled

boolean isEnabled

labels

ResourceBundleUtil labels

model

ApplicationModel model

prefs

java.util.prefs.Preferences prefs

activeView

View activeView

recentFiles

java.util.LinkedList<E> recentFiles

actionMap

javax.swing.ActionMap actionMap

openChooser

URIChooser openChooser

saveChooser

URIChooser saveChooser

importChooser

URIChooser importChooser

exportChooser

URIChooser exportChooser

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

Serialized Fields

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.AbstractView extends javax.swing.JPanel implements Serializable

Serialized Fields

application

Application application

executor

java.util.concurrent.ExecutorService 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.


hasUnsavedChanges

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


preferences

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


multipleOpenId

int multipleOpenId
This id is used to make multiple open views of the same URI identifiable.


isShowing

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


title

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


disposables

java.util.LinkedList<E> disposables
List of objects that need to be disposed when this view is disposed.


uri

java.net.URI uri
The URI of the view. Has a null value, if the view has not been loaded from a URI or has not been saved yet.

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 AbstractApplicationModel implements Serializable

Class org.jhotdraw.app.EmptyApplicationModel extends AbstractApplicationModel implements Serializable

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

Serialized Fields

parentFrame

javax.swing.JFrame parentFrame

scrollPane

javax.swing.JScrollPane scrollPane

desktopPane

JMDIDesktopPane desktopPane

prefs

java.util.prefs.Preferences prefs

toolBarActions

java.util.LinkedList<E> toolBarActions

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

Serialized Fields

paletteHandler

OSXPaletteHandler paletteHandler

prefs

java.util.prefs.Preferences prefs

paletteActions

java.util.LinkedList<E> paletteActions

invisibleFrame

javax.swing.JFrame invisibleFrame
The "invisible" frame is used to hold the frameless menu bar on Mac OS X.

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

Serialized Fields

prefs

java.util.prefs.Preferences prefs

Package org.jhotdraw.app.action

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.AbstractSaveUnsavedChangesAction extends AbstractViewAction implements Serializable

Serialized Fields

oldFocusOwner

java.awt.Component oldFocusOwner

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

Serialized Fields

target

javax.swing.JComponent target
The target of the action or null if the action acts on the currently focused component.


propertyHandler

java.beans.PropertyChangeListener propertyHandler
This variable keeps a strong reference on the property change listener.

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

Serialized Fields

app

Application app

view

View view

propertyName

java.lang.String propertyName

applicationListener

java.beans.PropertyChangeListener applicationListener

viewListener

java.beans.PropertyChangeListener viewListener

Package org.jhotdraw.app.action.app

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

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

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

Serialized Fields

oldFocusOwner

java.awt.Component oldFocusOwner

unsavedView

View unsavedView

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

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

Serialized Fields

fileChooser

javax.swing.JFileChooser fileChooser

entries

int entries

Class org.jhotdraw.app.action.app.PrintApplicationFileAction extends PrintFileAction implements Serializable

Serialized Fields

fileChooser

javax.swing.JFileChooser fileChooser

entries

int entries

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


Package org.jhotdraw.app.action.edit

Class org.jhotdraw.app.action.edit.AbstractFindAction extends AbstractViewAction implements Serializable

Class org.jhotdraw.app.action.edit.ClearSelectionAction extends AbstractSelectionAction implements Serializable

Class org.jhotdraw.app.action.edit.CopyAction extends AbstractSelectionAction implements Serializable

Class org.jhotdraw.app.action.edit.CutAction extends AbstractSelectionAction implements Serializable

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

Serialized Fields

target

javax.swing.JComponent target
The target of the action or null if the action acts on the currently focused component.


propertyHandler

java.beans.PropertyChangeListener propertyHandler
This variable keeps a strong reference on the property change listener.

Class org.jhotdraw.app.action.edit.DuplicateAction extends AbstractSelectionAction implements Serializable

Class org.jhotdraw.app.action.edit.PasteAction extends AbstractSelectionAction implements Serializable

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

Serialized Fields

labels

ResourceBundleUtil labels

redoActionPropertyListener

java.beans.PropertyChangeListener redoActionPropertyListener

Class org.jhotdraw.app.action.edit.SelectAllAction extends AbstractSelectionAction implements Serializable

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

Serialized Fields

labels

ResourceBundleUtil labels

redoActionPropertyListener

java.beans.PropertyChangeListener redoActionPropertyListener

Package org.jhotdraw.app.action.file

Class org.jhotdraw.app.action.file.ClearFileAction extends AbstractSaveUnsavedChangesAction implements Serializable

Class org.jhotdraw.app.action.file.ClearRecentFilesMenuAction extends AbstractApplicationAction implements Serializable

Serialized Fields

applicationListener

java.beans.PropertyChangeListener applicationListener

Class org.jhotdraw.app.action.file.CloseFileAction extends AbstractSaveUnsavedChangesAction implements Serializable

Class org.jhotdraw.app.action.file.ExportFileAction extends AbstractViewAction implements Serializable

Serialized Fields

oldFocusOwner

java.awt.Component oldFocusOwner

Class org.jhotdraw.app.action.file.LoadDirectoryAction extends LoadFileAction implements Serializable

Class org.jhotdraw.app.action.file.LoadFileAction extends AbstractSaveUnsavedChangesAction implements Serializable

Class org.jhotdraw.app.action.file.LoadRecentFileAction extends AbstractSaveUnsavedChangesAction implements Serializable

Serialized Fields

uri

java.net.URI uri

Class org.jhotdraw.app.action.file.NewFileAction extends AbstractApplicationAction implements Serializable

Class org.jhotdraw.app.action.file.NewWindowAction extends NewFileAction implements Serializable

Class org.jhotdraw.app.action.file.OpenDirectoryAction extends OpenFileAction implements Serializable

Class org.jhotdraw.app.action.file.OpenFileAction extends AbstractApplicationAction implements Serializable

Class org.jhotdraw.app.action.file.OpenRecentFileAction extends AbstractApplicationAction implements Serializable

Serialized Fields

uri

java.net.URI uri

Class org.jhotdraw.app.action.file.PrintFileAction extends AbstractViewAction implements Serializable

Class org.jhotdraw.app.action.file.SaveFileAction extends AbstractViewAction implements Serializable

Serialized Fields

saveAs

boolean saveAs

oldFocusOwner

java.awt.Component oldFocusOwner

Class org.jhotdraw.app.action.file.SaveFileAsAction extends SaveFileAction implements Serializable


Package org.jhotdraw.app.action.view

Class org.jhotdraw.app.action.view.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.view.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.app.action.window

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

Serialized Fields

arrangeable

Arrangeable arrangeable

arrangement

Arrangeable.Arrangement arrangement

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

Serialized Fields

view

View view

ppc

java.beans.PropertyChangeListener ppc

Class org.jhotdraw.app.action.window.MaximizeWindowAction extends AbstractViewAction implements Serializable

Class org.jhotdraw.app.action.window.MinimizeWindowAction extends AbstractViewAction implements Serializable

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

Serialized Fields

palette

java.awt.Window palette

app

OSXApplication app

windowHandler

java.awt.event.WindowListener windowHandler

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

Serialized Fields

toolBar

javax.swing.JToolBar toolBar

propertyHandler

java.beans.PropertyChangeListener propertyHandler

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

Serialized Fields

component

java.awt.Component component

Package org.jhotdraw.beans

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

Serialized Fields

propertySupport

java.beans.PropertyChangeSupport propertySupport

Class org.jhotdraw.beans.PropertyChangeEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Serialized Fields

source

java.lang.Object source
The object to be provided as the "source" of the JavaBeans property.


propertyName

java.lang.String propertyName
The name of the JavaBeans property.


oldValue

java.lang.Object oldValue
The old value of the JavaBeans property.


newValue

java.lang.Object newValue
The new value of the JavaBeans property.


type

java.lang.Class<T> type
The type of the property.


presentationName

java.lang.String presentationName

Package org.jhotdraw.color

Class org.jhotdraw.color.AbstractColorSlidersModel extends AbstractBean implements Serializable

Serialized Fields

listeners

java.util.LinkedList<E> listeners
ChangeListener's listening to changes in this AbstractColorSystem.

Class org.jhotdraw.color.ColorListCellRenderer extends javax.swing.DefaultListCellRenderer implements Serializable

Serialized Fields

icon

org.jhotdraw.color.ColorListCellRenderer.ColorIcon icon

Class org.jhotdraw.color.ColorWheelChooser extends javax.swing.colorchooser.AbstractColorChooserPanel implements Serializable

Serialized Fields

colorWheel

JColorWheel colorWheel

ccModel

ColorSliderModel ccModel

updatingChooser

int updatingChooser

brightnessSlider

javax.swing.JSlider brightnessSlider

Class org.jhotdraw.color.DefaultColorSliderModel extends AbstractColorSlidersModel implements Serializable

Serialized Fields

system

ColorSystem system

sliders

java.util.LinkedList<E> sliders
JSlider's associated to this AbstractColorSystem.


componentModels

javax.swing.DefaultBoundedRangeModel[] componentModels
Components of the color model.

Class org.jhotdraw.color.DefaultHarmonicColorModel extends javax.swing.AbstractListModel implements Serializable

Serialized Fields

propertySupport

java.beans.PropertyChangeSupport propertySupport

colors

java.util.ArrayList<E> colors

sliderModel

ColorSliderModel sliderModel

base

int base

rules

java.util.ArrayList<E> rules

customHueConstraint

float customHueConstraint

adjusting

int adjusting

Class org.jhotdraw.color.JColorWheel extends javax.swing.JPanel implements Serializable

Serialized Fields

sys

ColorSystem sys

wheelInsets

java.awt.Insets wheelInsets

colorWheelImage

java.awt.Image colorWheelImage

colorWheelProducer

ColorWheelImageProducer colorWheelProducer

model

ColorSliderModel model

radialIndex

int radialIndex
Radial color component index.


angularIndex

int angularIndex
Angular color component index.


verticalIndex

int verticalIndex
Vertical color component index.


mouseHandler

org.jhotdraw.color.JColorWheel.MouseHandler mouseHandler

modelHandler

org.jhotdraw.color.JColorWheel.ModelHandler modelHandler

Class org.jhotdraw.color.JHarmonicColorWheel extends JColorWheel implements Serializable

Serialized Fields

harmonicModel

HarmonicColorModel harmonicModel

selectedIndex

int selectedIndex

handleRadius

float handleRadius

baseRadius

float baseRadius

mouseHandler

org.jhotdraw.color.JHarmonicColorWheel.MouseHandler mouseHandler

modelHandler

org.jhotdraw.color.JHarmonicColorWheel.ModelHandler modelHandler

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 put by the put() operation. They can only be changed by put().

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 put by the put() operation. They can only be changed by put().

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)

eventHandler

AbstractCompositeFigure.EventHandler eventHandler
Handles figure changes in the children.

Class org.jhotdraw.draw.AbstractCompositeFigure.EventHandler extends FigureAdapter implements Serializable

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

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

isConnectable

boolean isConnectable

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.AttributeKey extends java.lang.Object implements Serializable

Serialized Fields

key

java.lang.String key
Holds a String representation of the attribute key.


defaultValue

java.lang.Object defaultValue
Holds the default value.


isNullValueAllowed

boolean isNullValueAllowed
Specifies whether null values are allowed.


labels

ResourceBundleUtil labels
Holds labels for the localization of the attribute.


clazz

java.lang.Class<T> clazz
This variable is used as a "type token" so that we can check for assignability of attribute values at runtime.

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

Serialized Fields

path

BezierPath path
The BezierPath.

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

Serialized Fields

needsSorting

boolean needsSorting

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

Serialized Fields

defaultAttributes

java.util.HashMap<K,V> defaultAttributes

handleAttributes

java.util.HashMap<K,V> handleAttributes

tool

Tool tool

views

java.util.HashSet<E> views

activeView

DrawingView activeView

isEnabled

boolean isEnabled

toolHandler

org.jhotdraw.draw.DefaultDrawingEditor.ToolHandler toolHandler

inputMap

javax.swing.InputMap inputMap
The input map of the drawing editor.


actionMap

javax.swing.ActionMap actionMap
The action map of the drawing editor.


focusHandler

java.awt.event.FocusListener focusHandler
The focus handler.

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

Serialized Fields

drawing

Drawing drawing

selectedFigures

java.util.Set<E> selectedFigures
Holds the selected figures in an ordered put. The ordering reflects the sequence that was used to select the figures.


selectionHandles

java.util.LinkedList<E> selectionHandles

isConstrainerVisible

boolean isConstrainerVisible

visibleConstrainer

Constrainer visibleConstrainer

invisibleConstrainer

Constrainer invisibleConstrainer

secondaryHandleOwner

Handle secondaryHandleOwner

activeHandle

Handle activeHandle

secondaryHandles

java.util.LinkedList<E> secondaryHandles

handlesAreValid

boolean handlesAreValid

scaleFactor

double scaleFactor

translation

java.awt.Point translation

detailLevel

int detailLevel

editor

DrawingEditor editor

emptyDrawingLabel

javax.swing.JLabel emptyDrawingLabel

backgroundTile

java.awt.image.BufferedImage backgroundTile

handleInvalidator

FigureListener handleInvalidator

isDrawingDoubleBuffered

boolean isDrawingDoubleBuffered
Whether the drawing is double buffered


drawingBufferV

java.awt.image.VolatileImage drawingBufferV
The drawingBuffer holds a rendered image of the drawing (in view coordinates).


drawingBufferNV

java.awt.image.BufferedImage drawingBufferNV
The drawingBuffer holds a rendered image of the drawing (in view coordinates).


bufferedArea

java.awt.Rectangle bufferedArea
Holds the drawing area (in view coordinates) which is in the drawing buffer.


dirtyArea

java.awt.Rectangle dirtyArea
Holds the drawing area (in view coordinates) which has not been redrawn yet in the drawing buffer.


paintEnabled

boolean paintEnabled

eventHandler

org.jhotdraw.draw.DefaultDrawingView.EventHandler eventHandler

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

Serialized Fields

exportedFigures

java.util.HashSet<E> exportedFigures
We keep the exported figures in this list, so that we don't need to rely on figure selection, when method exportDone is called.

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.DrawingEditorProxy extends AbstractBean implements Serializable

Serialized Fields

target

DrawingEditor target

forwarder

org.jhotdraw.draw.DrawingEditorProxy.Forwarder forwarder

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

Serialized Fields

ellipse

java.awt.geom.Ellipse2D.Double ellipse

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.ImageFigure extends AbstractAttributedDecoratedFigure implements Serializable

Serialization Methods

writeObject

private void writeObject(java.io.ObjectOutputStream out)
                  throws java.io.IOException
Throws:
java.io.IOException
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.

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

Serialized Fields

layouter

Layouter layouter

children

java.util.ArrayList<E> children

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

Class org.jhotdraw.draw.QuadTreeDrawing.QuadTreeEventHandler extends AbstractCompositeFigure.EventHandler implements Serializable

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

Serialized Fields

rectangle

java.awt.geom.Rectangle2D.Double rectangle

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

Serialized Fields

roundrect

java.awt.geom.RoundRectangle2D.Double roundrect

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.TextFigure extends AbstractAttributedDecoratedFigure implements Serializable

Serialized Fields

origin

java.awt.geom.Point2D.Double origin

editable

boolean editable

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.AbstractDrawingEditorAction extends javax.swing.AbstractAction implements Serializable

Serialized Fields

editor

DrawingEditor editor

eventHandler

org.jhotdraw.draw.action.AbstractDrawingEditorAction.EventHandler eventHandler

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

Serialized Fields

editor

DrawingEditor editor

specificView

DrawingView specificView

eventHandler

org.jhotdraw.draw.action.AbstractDrawingViewAction.EventHandler eventHandler

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

Serialized Fields

editor

DrawingEditor editor

labels

ResourceBundleUtil labels

eventHandler

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

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.BringToFrontAction extends AbstractSelectedAction implements Serializable

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.DrawingAttributeAction extends AbstractDrawingViewAction implements Serializable

Serialized Fields

attributes

java.util.Map<K,V> attributes

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

Class org.jhotdraw.draw.action.DrawingColorIcon 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.EditCanvasAction extends AbstractDrawingViewAction implements Serializable

Serialized Fields

frame

javax.swing.JFrame frame

settingsPanel

EditCanvasPanel settingsPanel

propertyChangeHandler

java.beans.PropertyChangeListener propertyChangeHandler

app

Application app

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

Serialized Fields

labels

ResourceBundleUtil labels

drawing

Drawing drawing

opacitySlider

JAttributeSlider opacitySlider

colorChooser

javax.swing.JColorChooser colorChooser

opacityFieldHandler

DrawingAttributeEditorHandler<T> opacityFieldHandler

opacitySliderHandler

DrawingAttributeEditorHandler<T> opacitySliderHandler

bgColorButtonGroup

javax.swing.ButtonGroup bgColorButtonGroup

colorButton

javax.swing.JButton colorButton

colorLabel

javax.swing.JLabel colorLabel

opacityField

JAttributeTextField<T> opacityField

opacityLabel

javax.swing.JLabel opacityLabel

opacityPopupButton

JPopupButton opacityPopupButton

Class org.jhotdraw.draw.action.EditGridAction extends AbstractDrawingViewAction 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

JLifeFormattedTextField heightField

heightLabel

javax.swing.JLabel heightLabel

thetaField

JLifeFormattedTextField thetaField

thetaLabel

javax.swing.JLabel thetaLabel

widthField

JLifeFormattedTextField widthField

widthLabel

javax.swing.JLabel widthLabel

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

Serialized Fields

key

AttributeKey<T> key

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.FontChooserHandler extends AbstractSelectedAction implements Serializable

Serialized Fields

key

AttributeKey<T> key

fontChooser

JFontChooser fontChooser

popupMenu

javax.swing.JPopupMenu popupMenu

isUpdating

int isUpdating

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.IncreaseHandleDetailLevelAction extends AbstractSelectedAction implements Serializable

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.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.SendToBackAction extends AbstractSelectedAction implements Serializable

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

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

Serialized Fields

prototype

CompositeFigure prototype
Creates a new instance.

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

Serialized Fields

scaleFactor

double scaleFactor

button

javax.swing.AbstractButton button

label

java.lang.String label

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

Serialized Fields

scaleFactor

double scaleFactor

button

javax.swing.AbstractButton button

label

java.lang.String label

updateAllViews

boolean updateAllViews

Package org.jhotdraw.draw.connector

Class org.jhotdraw.draw.connector.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.connector.ChopBezierConnector extends ChopRectangleConnector implements Serializable

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

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

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

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

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

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

Serialized Fields

locator

Locator locator

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

Serialized Fields

angle

float angle

Package org.jhotdraw.draw.decoration

Class org.jhotdraw.draw.decoration.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.decoration.ArrowTip extends AbstractLineDecoration implements Serializable

Serialized Fields

angle

double angle
Pointiness of arrow.


outerRadius

double outerRadius

innerRadius

double innerRadius

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

Serialized Fields

decorations

java.util.List<E> decorations

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

Serialized Fields

path

java.awt.geom.Path2D.Double path

decorationRadius

double decorationRadius

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

Serialized Fields

height

double height

Package org.jhotdraw.draw.event

Class org.jhotdraw.draw.event.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.event.BezierNodeEdit extends javax.swing.undo.AbstractUndoableEdit implements Serializable

Serialized Fields

owner

BezierFigure owner

index

int index

oldValue

BezierPath.Node oldValue

newValue

BezierPath.Node newValue

Class org.jhotdraw.draw.event.CompositeFigureEdit extends CompositeEdit implements Serializable

Serialized Fields

figure

Figure figure

Class org.jhotdraw.draw.event.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.event.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.event.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.event.HandleEvent extends java.util.EventObject implements Serializable

Serialized Fields

invalidatedArea

java.awt.Rectangle invalidatedArea

Class org.jhotdraw.draw.event.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.event.ToolEvent extends java.util.EventObject implements Serializable

Serialized Fields

invalidatedArea

java.awt.Rectangle invalidatedArea

view

DrawingView view

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

Serialized Fields

figures

java.util.Collection<E> figures

tx

java.awt.geom.AffineTransform tx

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

Serialized Fields

owner

Figure owner

oldTransformRestoreData

java.lang.Object oldTransformRestoreData

newTransformRestoreData

java.lang.Object newTransformRestoreData

Package org.jhotdraw.draw.liner

Class org.jhotdraw.draw.liner.CurvedLiner extends java.lang.Object implements Serializable

Serialized Fields

shoulderSize

double shoulderSize

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

Serialized Fields

shoulderSize

double shoulderSize

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

Serialized Fields

slantSize

double slantSize

Package org.jhotdraw.draw.locator

Class org.jhotdraw.draw.locator.AbstractLocator extends java.lang.Object implements Serializable

Class org.jhotdraw.draw.locator.BezierPointLocator extends AbstractLocator implements Serializable

Serialized Fields

index

int index

coord

int coord

Class org.jhotdraw.draw.locator.RelativeDecoratorLocator extends RelativeLocator implements Serializable

Serialized Fields

isQuadratic

boolean isQuadratic

Class org.jhotdraw.draw.locator.RelativeLocator extends AbstractLocator implements Serializable

Serialized Fields

relativeX

double relativeX
Relative x-coordinate on the bounds of the figure. The value 0 is on the left boundary of the figure, the value 1 on the right boundary.


relativeY

double relativeY
Relative y-coordinate on the bounds of the figure. The value 0 is on the top boundary of the figure, the value 1 on the bottom boundary.


isTransform

boolean isTransform
If this is set to true, if the locator is transforming with the figure.


Package org.jhotdraw.draw.tool

Class org.jhotdraw.draw.tool.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.tool.BezierTool extends AbstractTool implements Serializable

Serialized Fields

finishWhenMouseReleased

java.lang.Boolean finishWhenMouseReleased

attributes

java.util.Map<K,V> attributes

isToolDoneAfterCreation

boolean isToolDoneAfterCreation

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.


mouseLocation

java.awt.Point mouseLocation

creationView

DrawingView creationView
Holds the view on which we are currently creating a figure.

Class org.jhotdraw.draw.tool.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.tool.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.tool.DefaultDragTracker 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.tool.DefaultHandleTracker extends AbstractTool implements Serializable

Serialized Fields

masterHandle

Handle masterHandle

multicaster

HandleMulticaster multicaster

hoverHandles

java.util.LinkedList<E> hoverHandles
The hover handles, are the handles of the figure over which the mouse pointer is currently hovering.


hoverFigure

Figure hoverFigure
The hover Figure is the figure, over which the mouse is currently hovering.

Class org.jhotdraw.draw.tool.DefaultSelectAreaTracker 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.


hoverHandles

java.util.LinkedList<E> hoverHandles
The hover handles, are the handles of the figure over which the mouse pointer is currently hovering.


hoverFigure

Figure hoverFigure
The hover Figure is the figure, over which the mouse is currently hovering.

Class org.jhotdraw.draw.tool.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.


isMousePressedPopupTrigger

boolean isMousePressedPopupTrigger
This variable is set to true, if a mouse pressed event is a popup trigger.

Class org.jhotdraw.draw.tool.DnDTracker 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.tool.ImageTool extends CreationTool implements Serializable

Serialized Fields

fileDialog

java.awt.FileDialog fileDialog

fileChooser

javax.swing.JFileChooser fileChooser

useFileDialog

boolean useFileDialog

workerThread

java.lang.Thread workerThread

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

Serialized Fields

tracker

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


handleTracker

HandleTracker handleTracker
The tracker encapsulates the current state of the SelectionTool.


selectAreaTracker

SelectAreaTracker selectAreaTracker
The tracker encapsulates the current state of the SelectionTool.


dragTracker

DragTracker dragTracker
The tracker encapsulates the current state of the SelectionTool.


trackerHandler

org.jhotdraw.draw.tool.SelectionTool.TrackerHandler trackerHandler

isSelectBehindEnabled

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

Class org.jhotdraw.draw.tool.TextAreaCreationTool extends CreationTool implements Serializable

Serialized Fields

textArea

FloatingTextArea textArea

typingTarget

TextHolderFigure typingTarget

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.tool.TextAreaEditingTool extends AbstractTool implements Serializable

Serialized Fields

textArea

FloatingTextArea textArea

typingTarget

TextHolderFigure typingTarget

Class org.jhotdraw.draw.tool.TextCreationTool extends CreationTool implements Serializable

Serialized Fields

textField

FloatingTextField textField

typingTarget

TextHolderFigure typingTarget

Class org.jhotdraw.draw.tool.TextEditingTool extends AbstractTool implements Serializable

Serialized Fields

textField

FloatingTextField textField

typingTarget

TextHolderFigure typingTarget

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.BezierPath.Node extends java.lang.Object implements Serializable

Serialized Fields

mask

int mask
This mask is used to describe which control points in addition to C0 are in effect.


x

double[] x
Control point x coordinates.


y

double[] y
Control point y coordinates.


keepColinear

boolean keepColinear
This is a hint for editing tools. If this is set to true, the editing tools shall keep all control points on the same line.

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)

Class org.jhotdraw.geom.Insets2D extends java.lang.Object implements Serializable

Class org.jhotdraw.geom.Insets2D.Double extends Insets2D implements Serializable

Serialized Fields

top

double top

left

double left

bottom

double bottom

right

double right

Class org.jhotdraw.geom.Insets2D.Float extends Insets2D implements Serializable

Serialized Fields

top

float top

left

float left

bottom

float bottom

right

float right

Class org.jhotdraw.geom.Polygon2D.Double extends Polygon2D implements Serializable

Serialized Fields

xpoints

double[] xpoints
The array of X coordinates. The number of elements in this array might be more than the number of X coordinates in this Polygon. The extra elements allow new points to be added to this Polygon without re-creating this array. The value of npoints is equal to the number of valid points in this Polygon.


ypoints

double[] ypoints
The array of Y coordinates. The number of elements in this array might be more than the number of Y coordinates in this Polygon. The extra elements allow new points to be added to this Polygon without re-creating this array. The value of npoints is equal to the number of valid points in this Polygon.


bounds

java.awt.geom.Rectangle2D.Double bounds
The bounds of this Polygon. This value can be null.

Class org.jhotdraw.geom.Polygon2D.Float extends Polygon2D implements Serializable

Serialized Fields

xpoints

float[] xpoints
The array of X coordinates. The number of elements in this array might be more than the number of X coordinates in this Polygon. The extra elements allow new points to be added to this Polygon without re-creating this array. The value of npoints is equal to the number of valid points in this Polygon.


ypoints

float[] ypoints
The array of Y coordinates. The number of elements in this array might be more than the number of Y coordinates in this Polygon. The extra elements allow new points to be added to this Polygon without re-creating this array. The value of npoints is equal to the number of valid points in this Polygon.


bounds

java.awt.geom.Rectangle2D.Float bounds
The bounds of this Polygon. This value can be null.


Package org.jhotdraw.gui

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

Serialized Fields

isMultipleValues

boolean isMultipleValues

attributeValue

java.lang.Double attributeValue

scaleFactor

double scaleFactor

Class org.jhotdraw.gui.JAttributeTextArea extends JLifeFormattedTextArea implements Serializable

Serialized Fields

isMultipleValues

boolean isMultipleValues
This variable is set to true, when the figures, which are currently being edited by this field, have multiple values.

Class org.jhotdraw.gui.JAttributeTextField extends JLifeFormattedTextField implements Serializable

Serialized Fields

isMultipleValues

boolean isMultipleValues
This variable is set to true, when the figures, which are currently being edited by this field, have multiple values.

Class org.jhotdraw.gui.JDisclosureToolBar extends javax.swing.JToolBar implements Serializable

Serialized Fields

disclosureButton

javax.swing.JButton disclosureButton

Class org.jhotdraw.gui.JFileURIChooser extends javax.swing.JFileChooser implements Serializable

Class org.jhotdraw.gui.JFontChooser extends javax.swing.JComponent implements Serializable

Serialized Fields

selectionPath

javax.swing.tree.TreePath selectionPath
Holds the selected path of the JFontChooser.


selectedFont

java.awt.Font selectedFont
Holds the selected font of the JFontChooser.


model

FontChooserModel model
Holds the model of the JFontChooser.


returnValue

int returnValue

dialog

javax.swing.JDialog dialog

modelHandler

javax.swing.event.TreeModelListener modelHandler

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

Serialized Fields

formattedTextFieldAdapter

JLifeFormattedTextField formattedTextFieldAdapter
This adapter is used for adapting Formatters to the JTextArea.


handler

java.beans.PropertyChangeListener handler
Forwards property change events from the formattedTextFieldAdapter to listeners of this object.

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

Serialized Fields

value

java.lang.Object value
Last valid value.


documentHandler

org.jhotdraw.gui.JLifeFormattedTextField.DocumentHandler documentHandler
The DocumentHandler handles document changes while the user is editing the field.


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.

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

Serialized Fields

manager

org.jhotdraw.gui.MDIDesktopManager manager

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

popupAnchor

int popupAnchor

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.PlacardScrollPaneLayout extends javax.swing.ScrollPaneLayout implements Serializable

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

Class org.jhotdraw.gui.ToolBarLayout extends java.lang.Object implements Serializable

Serialized Fields

axis

int axis
Specifies the axis of the layout.

Class org.jhotdraw.gui.VerticalGridLayout extends java.lang.Object implements Serializable

Serialized Fields

hgap

int hgap

vgap

int vgap

rows

int rows

cols

int cols

isVertical

boolean isVertical

Package org.jhotdraw.gui.event

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

Serialized Fields

pane

java.lang.Object pane

option

int option

value

java.lang.Object value

inputValue

java.lang.Object inputValue

Package org.jhotdraw.gui.plaf.palette

Class org.jhotdraw.gui.plaf.palette.PaletteFontChooserPreviewPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

previewLabel

javax.swing.JLabel previewLabel

Class org.jhotdraw.gui.plaf.palette.PaletteFontChooserSelectionPanel extends javax.swing.JPanel implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

collectionList

javax.swing.JList collectionList

collectionsLabel

javax.swing.JLabel collectionsLabel

collectionsPanel

javax.swing.JPanel collectionsPanel

collectionsScrollPane

javax.swing.JScrollPane collectionsScrollPane

faceLabel

javax.swing.JLabel faceLabel

faceList

javax.swing.JList faceList

facesPanel

javax.swing.JPanel facesPanel

facesScrollPane

javax.swing.JScrollPane facesScrollPane

familiesPanel

javax.swing.JPanel familiesPanel

familiesScrollPane

javax.swing.JScrollPane familiesScrollPane

familyLabel

javax.swing.JLabel familyLabel

familyList

javax.swing.JList familyList

Class org.jhotdraw.gui.plaf.palette.PaletteLazyActionMap extends javax.swing.plaf.ActionMapUIResource implements Serializable

Class org.jhotdraw.gui.plaf.palette.PaletteLookAndFeel extends javax.swing.plaf.basic.BasicLookAndFeel implements Serializable

Serialized Fields

cachedDefaults

javax.swing.UIDefaults cachedDefaults
Cached defaults.

Class org.jhotdraw.gui.plaf.palette.PaletteRootPaneUI.PaletteRootLayout extends java.lang.Object implements Serializable

Serialized Fields

rootPane

javax.swing.JRootPane rootPane

Class org.jhotdraw.gui.plaf.palette.PaletteToolBarBorder extends javax.swing.border.AbstractBorder implements Serializable

Class org.jhotdraw.gui.plaf.palette.PaletteToolBarBorder.UIResource extends PaletteToolBarBorder implements Serializable

Class org.jhotdraw.gui.plaf.palette.PaletteToolBarUI.DragWindow extends javax.swing.JWindow implements Serializable

Serialized Fields

borderColor

java.awt.Color borderColor

orientation

int orientation

offset

java.awt.Point offset

Package org.jhotdraw.samples.color

Class org.jhotdraw.samples.color.JMixer extends javax.swing.JPanel implements Serializable

Serialized Fields

swatchesList

javax.swing.JList swatchesList

sliderModel

DefaultColorSliderModel sliderModel

adjusting

int adjusting

achromaticCheck

javax.swing.JCheckBox achromaticCheck

achromaticField

JLifeFormattedTextField achromaticField

achromaticLabel1

javax.swing.JLabel achromaticLabel1

achromaticLabel2

javax.swing.JLabel achromaticLabel2

analogousField

JLifeFormattedTextField analogousField

analogousLabel1

javax.swing.JLabel analogousLabel1

analogousLabel2

javax.swing.JLabel analogousLabel2

analogousRadio

javax.swing.JRadioButton analogousRadio

clashField

JLifeFormattedTextField clashField

clashLabel1

javax.swing.JLabel clashLabel1

clashLabel2

javax.swing.JLabel clashLabel2

clashRadio

javax.swing.JRadioButton clashRadio

complementaryField

JLifeFormattedTextField complementaryField

complementaryLabel1

javax.swing.JLabel complementaryLabel1

complementaryLabel2

javax.swing.JLabel complementaryLabel2

complementaryRadio

javax.swing.JRadioButton complementaryRadio

customHueField

JLifeFormattedTextField customHueField

customHueLabel

javax.swing.JLabel customHueLabel

customHueLabel2

javax.swing.JLabel customHueLabel2

customHueRadio

javax.swing.JRadioButton customHueRadio

disclosureButton

javax.swing.JToggleButton disclosureButton

harmonicWheel

JHarmonicColorWheel harmonicWheel

hueGroup

javax.swing.ButtonGroup hueGroup

mixerPanel

javax.swing.JPanel mixerPanel

monochromaticCheck

javax.swing.JCheckBox monochromaticCheck

monochromaticField

JLifeFormattedTextField monochromaticField

monochromaticLabel1

javax.swing.JLabel monochromaticLabel1

monochromaticLabel2

javax.swing.JLabel monochromaticLabel2

presetCombo

javax.swing.JComboBox presetCombo

primaryField

JLifeFormattedTextField primaryField

primaryLabel1

javax.swing.JLabel primaryLabel1

primaryLabel2

javax.swing.JLabel primaryLabel2

primaryRadio

javax.swing.JRadioButton primaryRadio

saturationSlider

javax.swing.JSlider saturationSlider

scrollPane

javax.swing.JScrollPane scrollPane

splitComplementaryLabel1

javax.swing.JLabel splitComplementaryLabel1

splitComplementaryLabel2

javax.swing.JLabel splitComplementaryLabel2

splitComplementaryRadio

javax.swing.JRadioButton splitComplementaryRadio

splitField

JLifeFormattedTextField splitField

springPanel

javax.swing.JPanel springPanel

sysGroup

javax.swing.ButtonGroup sysGroup

sysRGBToggle

javax.swing.JToggleButton sysRGBToggle

sysRYBToggle

javax.swing.JToggleButton sysRYBToggle

triadField

JLifeFormattedTextField triadField

triadLabel1

javax.swing.JLabel triadLabel1

triadLabel2

javax.swing.JLabel triadLabel2

triadRadio

javax.swing.JRadioButton triadRadio

Class org.jhotdraw.samples.color.WheelsAndSlidersMain extends javax.swing.JPanel implements Serializable

Serialized Fields

color

java.awt.Color color

colorLabel

javax.swing.JLabel colorLabel

models

java.util.LinkedList<E> models

handler

org.jhotdraw.samples.color.WheelsAndSlidersMain.Handler handler

chooserPanel

javax.swing.JPanel chooserPanel

previewLabel

javax.swing.JLabel previewLabel

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

Class org.jhotdraw.samples.font.FontChooserMain extends javax.swing.JPanel implements Serializable


Package org.jhotdraw.samples.mini

Class org.jhotdraw.samples.mini.AnimationSample extends javax.swing.JFrame implements Serializable

Class org.jhotdraw.samples.mini.BezierDemo extends javax.swing.JPanel implements Serializable

Serialized Fields

examples

java.util.ArrayList<E> examples

dumpDialog

javax.swing.JDialog dumpDialog

dumpArea

javax.swing.JTextArea dumpArea

handler

org.jhotdraw.samples.mini.BezierDemo.MouseHandler handler

canvas

org.jhotdraw.samples.mini.BezierDemo.Canvas canvas

dumpButton

javax.swing.JButton dumpButton

eraseButton

javax.swing.JButton eraseButton

jPanel1

javax.swing.JPanel jPanel1

showBezierCheck

javax.swing.JCheckBox showBezierCheck

showControlsCheck

javax.swing.JCheckBox showControlsCheck

showDigitizedCheck

javax.swing.JCheckBox showDigitizedCheck

showPolylineCheck

javax.swing.JCheckBox showPolylineCheck

showPreprocessedCheck

javax.swing.JCheckBox showPreprocessedCheck

toleranceLabel

javax.swing.JLabel toleranceLabel

zoomSlider

javax.swing.JSlider zoomSlider

Class org.jhotdraw.samples.mini.BorderRectangleFigure extends RectangleFigure implements Serializable

Serialized Fields

border

javax.swing.border.Border border
Deprecated. 

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

Serialized Fields

line

java.awt.geom.Line2D.Double line

Class org.jhotdraw.samples.mini.SVGDrawingPanelSample extends javax.swing.JFrame implements Serializable

Serialized Fields

openChooser

javax.swing.JFileChooser openChooser
Holds the file chooser for opening a file.


saveChooser

javax.swing.JFileChooser saveChooser
Holds the file chooser for saving a file.


fileFilterInputFormatMap

java.util.HashMap<K,V> fileFilterInputFormatMap
Maps file filters to input formats, so that we can determine the input format that the user selected for opening a drawing.


fileFilterOutputFormatMap

java.util.HashMap<K,V> fileFilterOutputFormatMap
Maps file filters to output formats, so that we can determine the output format that the user selected for opening a drawing.


file

java.io.File file
Holds the currently opened file.


fileMenu

javax.swing.JMenu fileMenu

menuBar

javax.swing.JMenuBar menuBar

openMenuItem

javax.swing.JMenuItem openMenuItem

saveAsMenuItem

javax.swing.JMenuItem saveAsMenuItem

svgPanel

SVGDrawingPanel svgPanel

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.


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

JAttributeSlider opacitySlider

opacityFieldHandler

FigureAttributeEditorHandler<T> opacityFieldHandler

opacitySliderHandler

FigureAttributeEditorHandler<T> opacitySliderHandler

linkFieldHandler

FigureAttributeEditorHandler<T> linkFieldHandler

linkField

JAttributeTextField<T> linkField

linkLabel

javax.swing.JLabel linkLabel

opacityField

JAttributeTextField<T> opacityField

opacityLabel

javax.swing.JLabel opacityLabel

opacityPopupButton

JPopupButton opacityPopupButton

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

Serialized Fields

exportChooser

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


visibleConstrainer

GridConstrainer visibleConstrainer

invisibleConstrainer

GridConstrainer invisibleConstrainer

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

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

Serialized Fields

ellipse

java.awt.geom.Ellipse2D.Double ellipse

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

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

Serialized Fields

roundrect

java.awt.geom.RoundRectangle2D.Double roundrect

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.


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

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

drawingComponent

SVGDrawingPanel drawingComponent

version

java.lang.String version
Lazily initialized in method getVersion();


start

long start

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.SVGCreateFromFileTool extends CreationTool implements Serializable

Serialized Fields

fileDialog

java.awt.FileDialog fileDialog

fileChooser

javax.swing.JFileChooser fileChooser

workerThread

java.lang.Thread workerThread

groupPrototype

CompositeFigure groupPrototype

imagePrototype

ImageHolderFigure imagePrototype

useFileDialog

boolean useFileDialog

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

Serialized Fields

undoManager

UndoRedoManager undoManager

editor

DrawingEditor editor

labels

ResourceBundleUtil labels

prefs

java.util.prefs.Preferences prefs

containerHandler

java.awt.event.ContainerListener containerHandler

actionToolBar

ActionsToolBar actionToolBar

alignToolBar

AlignToolBar alignToolBar

arrangeToolBar

ArrangeToolBar arrangeToolBar

canvasToolBar

CanvasToolBar canvasToolBar

creationToolBar

ToolsToolBar creationToolBar

figureToolBar

FigureToolBar figureToolBar

fillToolBar

FillToolBar fillToolBar

fontToolBar

FontToolBar fontToolBar

linkToolBar

LinkToolBar linkToolBar

scrollPane

javax.swing.JScrollPane scrollPane

strokeToolBar

StrokeToolBar strokeToolBar

toolButtonGroup

javax.swing.ButtonGroup toolButtonGroup

toolsPane

javax.swing.JPanel toolsPane

toolsPanel

javax.swing.JPanel toolsPanel

toolsScrollPane

javax.swing.JScrollPane toolsScrollPane

view

DefaultDrawingView view

viewToolBar

ViewToolBar viewToolBar

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

Serialized Fields

exportChooser

JFileURIChooser exportChooser

undo

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


fileFilterInputFormatMap

java.util.HashMap<K,V> fileFilterInputFormatMap

fileFilterOutputFormatMap

java.util.HashMap<K,V> fileFilterOutputFormatMap

propertyHandler

java.beans.PropertyChangeListener propertyHandler

svgPanel

SVGDrawingPanel svgPanel

Package org.jhotdraw.samples.svg.action

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

Serialized Fields

prototype

CompositeFigure prototype

isCombineAction

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

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

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


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

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

Serialized Fields

ellipse

java.awt.geom.Ellipse2D.Double ellipse

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.


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

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

Serialized Fields

roundrect

java.awt.geom.RoundRectangle2D.Double roundrect

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();

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

Package org.jhotdraw.samples.svg.gui

Class org.jhotdraw.samples.svg.gui.AbstractToolBar extends JDisclosureToolBar implements Serializable

Serialized Fields

editor

DrawingEditor editor

panels

javax.swing.JComponent[] panels

prefs

java.util.prefs.Preferences prefs

eventHandler

java.beans.PropertyChangeListener eventHandler

disposables

java.util.LinkedList<E> disposables

Class org.jhotdraw.samples.svg.gui.ActionsToolBar extends AbstractToolBar implements Serializable

Serialized Fields

toggleGridAction

ToggleGridAction toggleGridAction

undoManager

UndoRedoManager undoManager

Class org.jhotdraw.samples.svg.gui.AlignToolBar extends AbstractToolBar implements Serializable

Serialized Fields

displayer

SelectionComponentDisplayer displayer

Class org.jhotdraw.samples.svg.gui.ArrangeToolBar extends AbstractToolBar implements Serializable

Serialized Fields

displayer

SelectionComponentDisplayer displayer

Class org.jhotdraw.samples.svg.gui.CanvasToolBar extends AbstractToolBar implements Serializable

Class org.jhotdraw.samples.svg.gui.DrawingOpacityIcon extends javax.swing.ImageIcon implements Serializable

Serialized Fields

editor

DrawingEditor editor

opacityKey

AttributeKey<T> opacityKey

fillColorKey

AttributeKey<T> fillColorKey

strokeColorKey

AttributeKey<T> strokeColorKey

fillShape

java.awt.Shape fillShape

strokeShape

java.awt.Shape strokeShape

Class org.jhotdraw.samples.svg.gui.FigureToolBar extends AbstractToolBar implements Serializable

Serialized Fields

displayer

SelectionComponentDisplayer displayer

labels

ResourceBundleUtil labels

Class org.jhotdraw.samples.svg.gui.FillToolBar extends AbstractToolBar implements Serializable

Serialized Fields

displayer

SelectionComponentDisplayer displayer

Class org.jhotdraw.samples.svg.gui.FontToolBar extends AbstractToolBar implements Serializable

Serialized Fields

displayer

SelectionComponentDisplayer displayer

Class org.jhotdraw.samples.svg.gui.LinkToolBar extends AbstractToolBar implements Serializable

Serialized Fields

displayer

SelectionComponentDisplayer displayer

labels

ResourceBundleUtil labels

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

Serialized Fields

listeners

javax.swing.event.EventListenerList listeners

labels

ResourceBundleUtil labels

closeButton

javax.swing.JButton closeButton

iconLabel

javax.swing.JLabel iconLabel

messageLabel

javax.swing.JLabel messageLabel

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

Serialized Fields

m

javax.swing.ProgressMonitor m

progressModel

javax.swing.BoundedRangeModel progressModel

messageLabel

javax.swing.JLabel messageLabel

noteLabel

javax.swing.JLabel noteLabel

progressBar

javax.swing.JProgressBar progressBar

Class org.jhotdraw.samples.svg.gui.SelectionOpacityIcon extends javax.swing.ImageIcon implements Serializable

Serialized Fields

editor

DrawingEditor editor

opacityKey

AttributeKey<T> opacityKey

fillColorKey

AttributeKey<T> fillColorKey

strokeColorKey

AttributeKey<T> strokeColorKey

fillShape

java.awt.Shape fillShape

strokeShape

java.awt.Shape strokeShape

Class org.jhotdraw.samples.svg.gui.ServerAuthenticationException extends java.io.IOException implements Serializable

Class org.jhotdraw.samples.svg.gui.StrokeToolBar extends AbstractToolBar implements Serializable

Serialized Fields

displayer

SelectionComponentDisplayer displayer

Class org.jhotdraw.samples.svg.gui.SummaryToolBar extends javax.swing.JToolBar implements Serializable

Serialized Fields

labels

ResourceBundleUtil labels

summaryField

javax.swing.JTextField summaryField

summaryLabel

javax.swing.JLabel summaryLabel

Class org.jhotdraw.samples.svg.gui.ToolsToolBar extends AbstractToolBar implements Serializable

Class org.jhotdraw.samples.svg.gui.ViewToolBar extends AbstractToolBar implements Serializable

Serialized Fields

view

DrawingView view

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.


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 AbstractFindAction implements Serializable

Serialized Fields

findDialog

FindDialog findDialog

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

Class org.jhotdraw.text.ColorFormatter extends javax.swing.text.DefaultFormatter implements Serializable

Serialized Fields

outputFormat

ColorFormatter.Format outputFormat
Specifies the preferred output format.


lastUsedInputFormat

ColorFormatter.Format lastUsedInputFormat
Specifies the last used input format.


allowsNullValue

boolean allowsNullValue
Specifies whether the formatter allows null values.


isAdaptive

boolean isAdaptive
Specifies whether the formatter should adaptively change its output format depending on the last input format used by the user.


prefs

java.util.prefs.Preferences prefs
Preferences used for storing the last used input format.

Class org.jhotdraw.text.FontFormatter extends javax.swing.text.DefaultFormatter implements Serializable

Serialized Fields

allowsNullValue

boolean allowsNullValue
Specifies whether the formatter allows null values.


allowsUnknownFont

boolean allowsUnknownFont
Specifies whether the formatter allows unknown fonts.


genericFontFamilies

java.util.HashMap<K,V> genericFontFamilies
Map of generic font families. By default, holds a map of HTML generic font families. http://www.w3.org/TR/CSS2/fonts.html#generic-font-families.

Class org.jhotdraw.text.JavaNumberFormatter extends javax.swing.text.DefaultFormatter implements Serializable

Serialized Fields

scaleFactor

double scaleFactor
Specifies whether the formatter allows null values.


allowsNullValue

boolean allowsNullValue

min

java.lang.Comparable<T> min

max

java.lang.Comparable<T> max

appendsDotZero

boolean appendsDotZero

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.


Package org.jhotdraw.util

Class org.jhotdraw.util.ResourceBundleUtil extends java.lang.Object implements Serializable

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream in)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Read object from ObjectInputStream and re-establish ResourceBundle.

Throws:
java.io.IOException
java.lang.ClassNotFoundException
Serialized Fields

locale

java.util.Locale locale
The locale.


baseClass

java.lang.Class<T> baseClass
The base class


baseName

java.lang.String baseName
The base name of the resource bundle.


Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.