Serialized Form
lineNr
int lineNr
- The line number in the source code where the error occurred, or
NO_LINE if the line number is unknown.
- Invariants:
-
lineNr > 0 || lineNr == NO_LINE
serialVersionUID: -2383376380548624920L
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.
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.
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.
projects
java.util.LinkedList<E> projects
unmodifiableDocuments
java.util.Collection<E> unmodifiableDocuments
isEnabled
boolean isEnabled
labels
ResourceBundleUtil labels
model
ApplicationModel model
recentFiles
java.util.LinkedList<E> recentFiles
prefs
java.util.prefs.Preferences prefs
application
Application application
saveChooser
javax.swing.JFileChooser saveChooser
openChooser
javax.swing.JFileChooser openChooser
file
java.io.File file
executor
java.util.concurrent.Executor executor
actions
java.util.HashMap<K,V> actions
hasUnsavedChanges
boolean hasUnsavedChanges
prefs
java.util.prefs.Preferences prefs
multipleOpenId
int multipleOpenId
isShowing
boolean isShowing
applet
javax.swing.JApplet applet
project
Project project
actions
java.util.HashMap<K,V> actions
name
java.lang.String name
version
java.lang.String version
copyright
java.lang.String copyright
projectClass
java.lang.Class<T> projectClass
projectClassName
java.lang.String projectClassName
parentFrame
javax.swing.JFrame parentFrame
scrollPane
javax.swing.JScrollPane scrollPane
desktopPane
MDIDesktopPane desktopPane
prefs
java.util.prefs.Preferences prefs
currentProject
Project currentProject
toolBarActions
java.util.LinkedList<E> toolBarActions
paletteHandler
OSXPaletteHandler paletteHandler
currentProject
Project currentProject
prefs
java.util.prefs.Preferences prefs
paletteActions
java.util.LinkedList<E> paletteActions
currentProject
Project currentProject
prefs
java.util.prefs.Preferences prefs
|
Package org.jhotdraw.app.action |
app
Application app
applicationListener
java.beans.PropertyChangeListener applicationListener
app
Application app
applicationListener
java.beans.PropertyChangeListener applicationListener
projectListener
java.beans.PropertyChangeListener projectListener
arrangeable
Arrangeable arrangeable
arrangement
Arrangeable.Arrangement arrangement
applicationListener
java.beans.PropertyChangeListener applicationListener
oldFocusOwner
java.awt.Component oldFocusOwner
unsavedProject
Project unsavedProject
oldFocusOwner
java.awt.Component oldFocusOwner
project
Project project
file
java.io.File file
file
java.io.File file
fileChooser
javax.swing.JFileChooser fileChooser
entries
int entries
palette
java.awt.Window palette
app
DefaultOSXApplication app
windowHandler
java.awt.event.WindowListener windowHandler
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
projectListener
java.beans.PropertyChangeListener projectListener
labels
ResourceBundleUtil labels
redoActionPropertyListener
java.beans.PropertyChangeListener redoActionPropertyListener
saveAs
boolean saveAs
oldFocusOwner
java.awt.Component oldFocusOwner
oldFocusOwner
java.awt.Component oldFocusOwner
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
projectListener
java.beans.PropertyChangeListener projectListener
toolBar
javax.swing.JToolBar toolBar
propertyHandler
java.beans.PropertyChangeListener propertyHandler
component
java.awt.Component component
labels
ResourceBundleUtil labels
redoActionPropertyListener
java.beans.PropertyChangeListener redoActionPropertyListener
|
Package org.jhotdraw.beans |
propertySupport
java.beans.PropertyChangeSupport propertySupport
|
Package org.jhotdraw.draw |
attributes
java.util.HashMap<K,V> attributes
forbiddenAttributes
java.util.HashSet<E> forbiddenAttributes
- Forbidden attributes can't be set by the setAttribute() operation.
They can only be changed by basicSetAttribute().
children
java.util.LinkedList<E> children
- The children that this figure is composed of
- See Also:
AbstractCompositeFigure.add(org.jhotdraw.draw.Figure),
AbstractCompositeFigure.removeChild(int)
drawBounds
java.awt.geom.Rectangle2D.Double drawBounds
- Cached draw bounds.
bounds
java.awt.geom.Rectangle2D.Double bounds
- Cached layout bounds.
layouter
Layouter layouter
- A Layouter determines how the AbstractCompositeFigure should
be laid out graphically.
childHandler
org.jhotdraw.draw.AbstractCompositeFigure.ChildHandler childHandler
- Handles figure changes in the children.
owner
Figure owner
- The owner of the connector
isConnectToDecorator
boolean isConnectToDecorator
- Whether we should connect to the figure or to its decorator.
isVisible
boolean isVisible
- Whether we are visible.
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.
listenerList
javax.swing.event.EventListenerList listenerList
fontRenderContext
java.awt.font.FontRenderContext fontRenderContext
listenerList
javax.swing.event.EventListenerList listenerList
isConnectorsVisible
boolean isConnectorsVisible
courtingConnection
ConnectionFigure courtingConnection
drawing
Drawing drawing
isInteractive
boolean isInteractive
isVisible
boolean isVisible
decorator
Figure decorator
isDrawDecoratorFirst
boolean isDrawDecoratorFirst
changingDepth
int changingDepth
- We increase this number on each invocation of willChange() and
decrease it on each invocation of changed().
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.
angle
double angle
- Pointiness of arrow.
outerRadius
double outerRadius
innerRadius
double innerRadius
owner
Figure owner
name
AttributeKey<T> name
oldValue
java.lang.Object oldValue
newValue
java.lang.Object newValue
attributes
java.util.HashMap<K,V> attributes
forbiddenAttributes
java.util.HashSet<E> forbiddenAttributes
- Forbidden attributes can't be set by the setAttribute() operation.
They can only be changed by basicSetAttribute().
path
BezierPath path
- The BezierPath.
border
javax.swing.border.Border border
owner
AbstractFigure owner
tx
java.awt.geom.AffineTransform tx
inProgress
boolean inProgress
- True if this edit has never received
end.
figures
java.util.ArrayList<E> figures
needsSorting
boolean needsSorting
defaultAttributes
java.util.HashMap<K,V> defaultAttributes
tool
Tool tool
views
java.util.HashSet<E> views
activeView
DrawingView activeView
isEnabled
boolean isEnabled
focusedView
DrawingView focusedView
focusHandler
java.awt.event.FocusListener focusHandler
drawing
Drawing drawing
dirtyFigures
java.util.Set<E> dirtyFigures
selectedFigures
java.util.Set<E> selectedFigures
rainbow
int rainbow
selectionHandles
java.util.LinkedList<E> selectionHandles
secondaryHandleOwner
Handle secondaryHandleOwner
secondaryHandles
java.util.LinkedList<E> secondaryHandles
handlesAreValid
boolean handlesAreValid
preferredSize
java.awt.Dimension preferredSize
scaleFactor
double scaleFactor
translate
java.awt.geom.Point2D.Double translate
detailLevel
int detailLevel
domFactory
DOMFactory domFactory
editor
DrawingEditor editor
constrainer
Constrainer constrainer
emptyDrawingLabel
javax.swing.JLabel emptyDrawingLabel
buttonGroup1
javax.swing.ButtonGroup buttonGroup1
rectangle
java.awt.geom.Rectangle2D.Double rectangle
- The bounds of the diamond figure.
invalidatedArea
java.awt.geom.Rectangle2D.Double invalidatedArea
figure
Figure figure
ellipse
java.awt.geom.Ellipse2D.Double ellipse
invalidatedArea
java.awt.geom.Rectangle2D.Double invalidatedArea
attribute
AttributeKey<T> attribute
oldValue
java.lang.Object oldValue
newValue
java.lang.Object newValue
path
java.awt.geom.GeneralPath path
decorationRadius
double decorationRadius
owner
Figure owner
oldGeometry
java.lang.Object oldGeometry
newGeometry
java.lang.Object newGeometry
attributes
java.util.HashMap<K,V> attributes
forbiddenAttributes
java.util.HashSet<E> forbiddenAttributes
presentationFigure
Figure presentationFigure
- Figure which performs all presentation tasks for this
AbstractCompositeFigure 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.
invalidatedArea
java.awt.Rectangle invalidatedArea
layouter
Layouter layouter
children
java.util.ArrayList<E> children
drawBounds
java.awt.geom.Rectangle2D.Double drawBounds
childHandler
org.jhotdraw.draw.LabeledLineConnectionFigure.ChildHandler childHandler
- Handles figure changes in the children.
target
TextHolder target
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.
locator
Locator locator
figures
java.util.ArrayList<E> figures
quadTree
QuadTree2DDouble<T> quadTree
needsSorting
boolean needsSorting
rectangle
java.awt.geom.Rectangle2D.Double rectangle
figure
Figure figure
oldRestoreData
java.lang.Object oldRestoreData
newRestoreData
java.lang.Object newRestoreData
roundrect
java.awt.geom.RoundRectangle2D.Double roundrect
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
slantSize
double slantSize
angle
float angle
bounds
java.awt.geom.Rectangle2D.Double bounds
editable
boolean editable
origin
java.awt.geom.Point2D.Double origin
editable
boolean editable
invalidatedArea
java.awt.Rectangle invalidatedArea
view
DrawingView view
figures
java.util.Collection<E> figures
- Implementation note: Owner has package access, because it is accessed
by CompositeMoveEdit.
tx
java.awt.geom.AffineTransform tx
rectangle
java.awt.geom.Rectangle2D.Double rectangle
- The bounds of the triangle figure.
|
Package org.jhotdraw.draw.action |
editor
DrawingEditor editor
propertyChangeHandler
java.beans.PropertyChangeListener propertyChangeHandler
editor
DrawingEditor editor
labels
ResourceBundleUtil labels
propertyChangeHandler
java.beans.PropertyChangeListener propertyChangeHandler
eventHandler
org.jhotdraw.draw.action.AbstractSelectedAction.EventHandler eventHandler
editor
DrawingEditor editor
view
DrawingView view
propertyChangeHandler
java.beans.PropertyChangeListener propertyChangeHandler
labels
ResourceBundleUtil labels
attributes
java.util.Map<K,V> attributes
editor
DrawingEditor editor
key
AttributeKey<T> key
colorRect
java.awt.Rectangle colorRect
key
AttributeKey<T> key
keys
AttributeKey<T>[] keys
prototype
CompositeFigure prototype
popupMenu
javax.swing.JPopupMenu popupMenu
columnCount
int columnCount
action
javax.swing.Action action
actionArea
java.awt.Rectangle actionArea
itemFont
java.awt.Font itemFont
dx
int dx
dy
int dy
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
label
java.lang.String label
onConstrainer
Constrainer onConstrainer
offConstrainer
Constrainer offConstrainer
prototype
CompositeFigure prototype
- Creates a new instance.
hgap
int hgap
vgap
int vgap
rows
int rows
cols
int cols
isVertical
boolean isVertical
scaleFactor
double scaleFactor
button
javax.swing.AbstractButton button
label
java.lang.String label
scaleFactor
double scaleFactor
button
javax.swing.AbstractButton button
label
java.lang.String label
updateAllViews
boolean updateAllViews
|
Package org.jhotdraw.geom |
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.
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)
top
double top
- The inset from the top.
This value is added to the Top of the rectangle
to yield a new location for the Top.
-
- See Also:
Insets2DDouble.clone()
left
double left
- The inset from the left.
This value is added to the Left of the rectangle
to yield a new location for the Left edge.
-
- See Also:
Insets2DDouble.clone()
bottom
double bottom
- The inset from the bottom.
This value is subtracted from the Bottom of the rectangle
to yield a new location for the Bottom.
-
- See Also:
Insets2DDouble.clone()
right
double right
- The inset from the right.
This value is subtracted from the Right of the rectangle
to yield a new location for the Right edge.
-
- See Also:
Insets2DDouble.clone()
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.
manager
org.jhotdraw.gui.MDIDesktopManager manager
|
Package org.jhotdraw.gui.event |
pane
javax.swing.JComponent pane
option
int option
value
java.lang.Object value
inputValue
java.lang.Object inputValue
|
Package org.jhotdraw.samples.draw |
drawingPanel
DrawingPanel drawingPanel
toolButtonGroup
javax.swing.ButtonGroup toolButtonGroup
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all projects.
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
drawingPanel
DrawingPanel drawingPanel
jToolBar1
javax.swing.JToolBar jToolBar1
loadButton
javax.swing.JButton loadButton
saveButton
javax.swing.JButton saveButton
toolButtonGroup
javax.swing.ButtonGroup toolButtonGroup
undo
UndoRedoManager undo
- Each DrawProject uses its own undo redo manager.
This allows for undoing and redoing actions per project.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
project, or a single shared editor for all projects.
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
|
Package org.jhotdraw.samples.net |
drawingPanel
NetPanel drawingPanel
toolButtonGroup
javax.swing.ButtonGroup toolButtonGroup
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all projects.
actions
java.util.HashMap<K,V> actions
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
undo
UndoRedoManager undo
- Each DrawProject uses its own undo redo manager.
This allows for undoing and redoing actions per project.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
project, or a single shared editor for all projects.
visibleConstrainer
GridConstrainer visibleConstrainer
invisibleConstrainer
GridConstrainer invisibleConstrainer
prefs
java.util.prefs.Preferences prefs
toggleGridButton
javax.swing.AbstractButton toggleGridButton
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
|
Package org.jhotdraw.samples.net.figures |
connectors
java.util.LinkedList<E> connectors
|
Package org.jhotdraw.samples.pert |
drawingPanel
PertPanel drawingPanel
toolButtonGroup
javax.swing.ButtonGroup toolButtonGroup
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all projects.
actions
java.util.HashMap<K,V> actions
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
undo
UndoRedoManager undo
- Each DrawProject uses its own undo redo manager.
This allows for undoing and redoing actions per project.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
project, or a single shared editor for all projects.
visibleConstrainer
GridConstrainer visibleConstrainer
invisibleConstrainer
GridConstrainer invisibleConstrainer
prefs
java.util.prefs.Preferences prefs
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
|
Package org.jhotdraw.samples.pert.figures |
dependencies
java.util.HashSet<E> dependencies
startTime
int startTime
- Derived attribute. We cache it here for efficiency reasons.
|
Package org.jhotdraw.samples.svg |
drawingPanel
SVGPanel drawingPanel
toolButtonGroup
javax.swing.ButtonGroup toolButtonGroup
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all projects.
title
java.lang.String title
description
java.lang.String description
drawingPanel
DrawingPanel drawingPanel
jToolBar1
javax.swing.JToolBar jToolBar1
loadButton
javax.swing.JButton loadButton
saveButton
javax.swing.JButton saveButton
toolButtonGroup
javax.swing.ButtonGroup toolButtonGroup
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
undo
UndoRedoManager undo
- Each SVGProject uses its own undo redo manager.
This allows for undoing and redoing actions per project.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
project, or a single shared editor for all projects.
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
|
Package org.jhotdraw.samples.svg.action |
|
Package org.jhotdraw.samples.svg.figures |
bounds
java.awt.geom.Rectangle2D.Double bounds
path
java.awt.geom.GeneralPath path
- This path is used for drawing.
|
Package org.jhotdraw.undo |
presentationName
java.lang.String presentationName
isSignificant
boolean isSignificant
isVerbose
boolean isVerbose
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.