Serialized Form
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.
views
java.util.LinkedList<E> views
unmodifiableDocuments
java.util.Collection<E> unmodifiableDocuments
isEnabled
boolean isEnabled
labels
ResourceBundleUtil labels
model
ApplicationModel model
recentFiles
java.util.LinkedList<E> recentFiles
prefs
java.util.prefs.Preferences prefs
activeView
View activeView
application
Application application
saveChooser
javax.swing.JFileChooser saveChooser
- The file chooser used for saving the view.
Has a null value, if the file chooser has not been used yet.
openChooser
javax.swing.JFileChooser openChooser
- The file chooser used for opening the view.
Has a null value, if the file chooser has not been used yet.
file
java.io.File file
- The view file.
Has a null value, if the view has not been loaded from a file
or has not been saved yet.
executor
java.util.concurrent.Executor executor
- The executor used to perform background tasks for the View in a
controlled manner. This executor ensures that all background tasks
are executed sequentually.
actions
java.util.HashMap<K,V> actions
- Hash map for storing view actions.
hasUnsavedChanges
boolean hasUnsavedChanges
- This is set to true, if the view has unsaved changes.
prefs
java.util.prefs.Preferences prefs
- The preferences of the view.
multipleOpenId
int multipleOpenId
- This id is used to make multiple open projects from the same view file
identifiable.
isShowing
boolean isShowing
- This is set to true, if the view is showing.
title
java.lang.String title
- The title of the view.
applet
javax.swing.JApplet applet
view
View view
actions
java.util.HashMap<K,V> actions
name
java.lang.String name
version
java.lang.String version
copyright
java.lang.String copyright
viewClass
java.lang.Class<T> viewClass
viewClassName
java.lang.String viewClassName
parentFrame
javax.swing.JFrame parentFrame
scrollPane
javax.swing.JScrollPane scrollPane
desktopPane
MDIDesktopPane desktopPane
prefs
java.util.prefs.Preferences prefs
toolBarActions
java.util.LinkedList<E> toolBarActions
paletteHandler
OSXPaletteHandler paletteHandler
prefs
java.util.prefs.Preferences prefs
paletteActions
java.util.LinkedList<E> paletteActions
prefs
java.util.prefs.Preferences prefs
Package org.jhotdraw.app.action |
app
Application app
applicationListener
java.beans.PropertyChangeListener applicationListener
oldFocusOwner
java.awt.Component oldFocusOwner
app
Application app
propertyName
java.lang.String propertyName
applicationListener
java.beans.PropertyChangeListener applicationListener
viewListener
java.beans.PropertyChangeListener viewListener
arrangeable
Arrangeable arrangeable
arrangement
Arrangeable.Arrangement arrangement
applicationListener
java.beans.PropertyChangeListener applicationListener
oldFocusOwner
java.awt.Component oldFocusOwner
unsavedView
View unsavedView
oldFocusOwner
java.awt.Component oldFocusOwner
view
View view
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
labels
ResourceBundleUtil labels
redoActionPropertyListener
java.beans.PropertyChangeListener redoActionPropertyListener
saveAs
boolean saveAs
oldFocusOwner
java.awt.Component oldFocusOwner
toolBar
javax.swing.JToolBar toolBar
propertyHandler
java.beans.PropertyChangeListener propertyHandler
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
component
java.awt.Component component
labels
ResourceBundleUtil labels
redoActionPropertyListener
java.beans.PropertyChangeListener redoActionPropertyListener
propertyName
java.lang.String propertyName
parameterClass
java.lang.Class<T>[] parameterClass
propertyValue
java.lang.Object propertyValue
setterName
java.lang.String setterName
getterName
java.lang.String getterName
viewListener
java.beans.PropertyChangeListener viewListener
Package org.jhotdraw.beans |
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 setAttribute().
decorator
Figure decorator
attributes
java.util.HashMap<K,V> attributes
- Holds the attributes of the figure.
forbiddenAttributes
java.util.HashSet<E> forbiddenAttributes
- Forbidden attributes can't be set by the setAttribute() operation.
They can only be changed by setAttribute().
layouter
Layouter layouter
- A Layouter determines how the children of the CompositeFigure
are laid out graphically.
children
java.util.ArrayList<E> children
- The children that this figure is composed of
- See Also:
AbstractCompositeFigure.add(org.jhotdraw.draw.Figure)
,
AbstractCompositeFigure.removeChild(int)
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
- Cached draw cachedBounds.
cachedBounds
java.awt.geom.Rectangle2D.Double cachedBounds
- Cached layout cachedBounds.
eventHandler
AbstractCompositeFigure.EventHandler eventHandler
- Handles figure changes in the children.
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.
listenerList
javax.swing.event.EventListenerList listenerList
- The listeners waiting for model changes.
fontRenderContext
java.awt.font.FontRenderContext fontRenderContext
inputFormats
java.util.LinkedList<E> inputFormats
outputFormats
java.util.LinkedList<E> outputFormats
listenerList
javax.swing.event.EventListenerList listenerList
drawing
Drawing drawing
isSelectable
boolean isSelectable
isRemovable
boolean isRemovable
isVisible
boolean isVisible
isTransformable
boolean isTransformable
changingDepth
int changingDepth
- This variable is used to prevent endless change loops.
We increase its value on each invocation of willChange() and
decrease it on each invocation of changed().
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.
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.
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
path
BezierPath path
- The BezierPath.
finishWhenMouseReleased
java.lang.Boolean finishWhenMouseReleased
attributes
java.util.Map<K,V> attributes
prototype
BezierFigure prototype
- The prototype for new figures.
createdFigure
BezierFigure createdFigure
- The created figure.
nodeCountBeforeDrag
int nodeCountBeforeDrag
presentationName
java.lang.String presentationName
- A localized name for this tool. The presentationName is displayed by the
UndoableEdit.
attributes
java.util.Map<K,V> attributes
startConnector
Connector startConnector
- the anchor point of the interaction
endConnector
Connector endConnector
targetConnector
Connector targetConnector
target
Figure target
connection
ConnectionFigure connection
- the currently created figure
splitPoint
int splitPoint
- the currently manipulated connection point
editedConnection
ConnectionFigure editedConnection
- the currently edited connection
createdFigure
Figure createdFigure
- the figure that was actually added
Note, this can be a different figure from the one which has been created.
prototype
ConnectionFigure prototype
- the prototypical figure that is used to create new
connections.
border
javax.swing.border.Border border
- Deprecated.
invalidatedArea
java.awt.geom.Rectangle2D.Double invalidatedArea
child
Figure child
index
int index
decorations
java.util.List<E> decorations
owner
AbstractFigure owner
tx
java.awt.geom.AffineTransform tx
inProgress
boolean inProgress
- True if this edit has never received
end
.
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.
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.
needsSorting
boolean needsSorting
canvasBounds
java.awt.geom.Rectangle2D.Double canvasBounds
defaultAttributes
java.util.HashMap<K,V> defaultAttributes
tool
Tool tool
views
java.util.HashSet<E> views
activeView
DrawingView activeView
isEnabled
boolean isEnabled
focusHandler
java.awt.event.FocusListener focusHandler
preferredViewSize
java.awt.Dimension preferredViewSize
drawing
Drawing drawing
dirtyFigures
java.util.Set<E> dirtyFigures
selectedFigures
java.util.Set<E> selectedFigures
selectionHandles
java.util.LinkedList<E> selectionHandles
isConstrainerVisible
boolean isConstrainerVisible
visibleConstrainer
Constrainer visibleConstrainer
invisibleConstrainer
Constrainer invisibleConstrainer
secondaryHandleOwner
Handle secondaryHandleOwner
secondaryHandles
java.util.LinkedList<E> secondaryHandles
handlesAreValid
boolean handlesAreValid
cachedPreferredSize
java.awt.Dimension cachedPreferredSize
scaleFactor
double scaleFactor
translate
java.awt.geom.Point2D.Double translate
detailLevel
int detailLevel
editor
DrawingEditor editor
emptyDrawingLabel
javax.swing.JLabel emptyDrawingLabel
handleInvalidator
FigureListener handleInvalidator
changeHandler
javax.swing.event.ChangeListener changeHandler
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
eventHandler
org.jhotdraw.draw.DefaultDrawingView.EventHandler eventHandler
backgroundTile
java.awt.image.BufferedImage backgroundTile
buttonGroup1
javax.swing.ButtonGroup buttonGroup1
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.
rectangle
java.awt.geom.Rectangle2D.Double rectangle
- The bounds of the diamond figure.
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
shoulderSize
double shoulderSize
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
oldValue
java.util.Set<E> oldValue
newValue
java.util.Set<E> 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
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.
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.
invalidatedArea
java.awt.Rectangle invalidatedArea
masterHandle
Handle masterHandle
multicaster
HandleMulticaster multicaster
anchor
java.awt.Point anchor
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.
fileChooser
javax.swing.JFileChooser fileChooser
layouter
Layouter layouter
children
java.util.ArrayList<E> children
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
childHandler
org.jhotdraw.draw.LabeledLineConnectionFigure.ChildHandler childHandler
- Handles figure changes in the children.
target
TextHolderFigure 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
height
double height
children
java.util.ArrayList<E> children
quadTree
QuadTree<T> quadTree
needsSorting
boolean needsSorting
figureHandler
QuadTreeCompositeFigure.FigureHandler figureHandler
canvasSize
Dimension2DDouble canvasSize
quadTree
QuadTree<T> quadTree
needsSorting
boolean needsSorting
canvasSize
Dimension2DDouble canvasSize
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
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.
tracker
Tool tracker
- The tracker encapsulates the current state of the SelectionTool.
isSelectBehindEnabled
boolean isSelectBehindEnabled
- Represents the state of the selectBehindEnabled property.
By default, this property is set to true.
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
isTextOverflow
java.lang.Boolean isTextOverflow
- This is a cached value to improve the performance of method isTextOverflow();
textArea
FloatingTextArea textArea
typingTarget
TextHolderFigure typingTarget
isForCreationOnly
boolean isForCreationOnly
- By default this tool is only used for the creation of new TextAreaFigures.
If this variable is set to false, the tool is used to create new
TextAreaFigures and edit existing TextAreaFigures.
rubberbandColor
java.awt.Color rubberbandColor
- Rubberband color of the tool. When this is null, the tool does not
draw a rubberband.
origin
java.awt.geom.Point2D.Double origin
editable
boolean editable
textField
FloatingTextField textField
typingTarget
TextHolderFigure typingTarget
isForCreationOnly
boolean isForCreationOnly
- By default this tool is only used for the creation of new TextHolderFigures.
If this variable is set to false, the tool is used to create new
TextHolderFigure and edit existing TextHolderFigure.
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
excludedAttributes
java.util.Set<E> excludedAttributes
attributes
java.util.Map<K,V> attributes
editor
DrawingEditor editor
key
AttributeKey<T> key
value1
java.lang.Object value1
value2
java.lang.Object value2
compatibleTextAction
javax.swing.Action compatibleTextAction
keys
AttributeKey<T>[] keys
fixedAttributes
java.util.Map<K,V> fixedAttributes
target
DrawingEditor target
forwarder
java.beans.PropertyChangeListener forwarder
frame
javax.swing.JFrame frame
settingsPanel
EditDrawingPanel settingsPanel
propertyChangeHandler
java.beans.PropertyChangeListener propertyChangeHandler
app
Application app
labels
ResourceBundleUtil labels
drawing
Drawing drawing
backgroundOpacitySlider
javax.swing.JSlider backgroundOpacitySlider
colorChooser
javax.swing.JColorChooser colorChooser
bgColorButtonGroup
javax.swing.ButtonGroup bgColorButtonGroup
colorButton
javax.swing.JButton colorButton
colorLabel
javax.swing.JLabel colorLabel
opacityField
JDoubleTextField opacityField
opacityLabel
javax.swing.JLabel opacityLabel
opacityPopupButton
JPopupButton opacityPopupButton
dialog
javax.swing.JDialog dialog
settingsPanel
EditGridPanel settingsPanel
propertyChangeHandler
java.beans.PropertyChangeListener propertyChangeHandler
app
Application app
labels
ResourceBundleUtil labels
constrainer
GridConstrainer constrainer
heightField
JDoubleTextField heightField
heightLabel
javax.swing.JLabel heightLabel
thetaField
JDoubleTextField thetaField
thetaLabel
javax.swing.JLabel thetaLabel
widthField
JDoubleTextField widthField
widthLabel
javax.swing.JLabel widthLabel
key
AttributeKey<T> key
fixedAttributes
java.util.HashMap<K,V> fixedAttributes
editor
DrawingEditor editor
key
AttributeKey<T> key
colorShape
java.awt.Shape colorShape
prototype
CompositeFigure prototype
isGroupingAction
boolean isGroupingAction
- If this variable is true, this action groups figures.
If this variable is false, this action ungroups figures.
dx
int dx
dy
int dy
dir
TranslationDirection dir
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
excludedAttributes
java.util.Set<E> excludedAttributes
editor
DrawingEditor editor
key
AttributeKey<T> key
colorShape
java.awt.Shape colorShape
label
java.lang.String label
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.
windingRule
int windingRule
- The winding rule for filling 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)
scaleFactor
double scaleFactor
min
double min
max
double max
attributeKey
AttributeKey<T> attributeKey
isMultipleValues
boolean isMultipleValues
labels
ResourceBundleUtil labels
isUpdatingField
int isUpdatingField
eventHandler
AttributeFieldEventHandler eventHandler
scaleFactor
double scaleFactor
editor
DrawingEditor editor
attributeKey
AttributeKey<T> attributeKey
isMultipleValues
boolean isMultipleValues
labels
ResourceBundleUtil labels
isUpdatingSlider
int isUpdatingSlider
attributeRestoreData
java.util.LinkedList<E> attributeRestoreData
viewEventHandler
java.beans.PropertyChangeListener viewEventHandler
eventHandler
org.jhotdraw.gui.JDoubleAttributeSlider.EditorEventHandler eventHandler
changeHandler
org.jhotdraw.gui.JDoubleAttributeSlider.ChangeHandler changeHandler
value
double value
minimum
double minimum
maximum
double maximum
format
java.text.DecimalFormat format
updatingDepth
int updatingDepth
- This variable is used to prevent endless update loops.
We increase its value on each entry in one of the update methods
and decrease it on each exit.
documentHandler
org.jhotdraw.gui.JDoubleTextField.DocumentHandler documentHandler
value
int value
minimum
int minimum
maximum
int maximum
documentHandler
org.jhotdraw.gui.JIntegerTextField.DocumentHandler documentHandler
popupMenu
javax.swing.JPopupMenu popupMenu
columnCount
int columnCount
action
javax.swing.Action action
actionArea
java.awt.Rectangle actionArea
itemFont
java.awt.Font itemFont
actionPropertyHandler
org.jhotdraw.gui.JPopupButton.ActionPropertyHandler actionPropertyHandler
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.
editor
DrawingEditor editor
attributeKey
AttributeKey<T> attributeKey
isMultipleValues
boolean isMultipleValues
labels
ResourceBundleUtil labels
isUpdatingField
int isUpdatingField
viewEventHandler
java.beans.PropertyChangeListener viewEventHandler
eventHandler
org.jhotdraw.gui.JStringAttributeArea.EditorEventHandler eventHandler
editor
DrawingEditor editor
attributeKey
AttributeKey<T> attributeKey
isMultipleValues
boolean isMultipleValues
labels
ResourceBundleUtil labels
isUpdatingField
int isUpdatingField
viewEventHandler
java.beans.PropertyChangeListener viewEventHandler
eventHandler
org.jhotdraw.gui.JStringAttributeField.EditorEventHandler eventHandler
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 views.
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 DrawView uses its own undo redo manager.
This allows for undoing and redoing actions per view.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
view, or a single shared editor for all views.
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
Package org.jhotdraw.samples.mini |
line
java.awt.geom.Line2D.Double line
Package org.jhotdraw.samples.net |
drawingPanel
NetPanel drawingPanel
toolButtonGroup
javax.swing.ButtonGroup toolButtonGroup
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all views.
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 NetView uses its own undo redo manager.
This allows for undoing and redoing actions per view.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
view, or a single shared editor for all views.
prefs
java.util.prefs.Preferences prefs
toggleGridButton
javax.swing.AbstractButton toggleGridButton
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
Package org.jhotdraw.samples.net.figures |
connectors
java.util.LinkedList<E> connectors
Package org.jhotdraw.samples.odg |
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all views.
title
java.lang.String title
description
java.lang.String description
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
labels
ResourceBundleUtil labels
editor
DrawingEditor editor
opacitySlider
JDoubleAttributeSlider opacitySlider
linkField
JStringAttributeField linkField
linkLabel
javax.swing.JLabel linkLabel
opacityField
JDoubleAttributeField opacityField
opacityLabel
javax.swing.JLabel opacityLabel
opacityPopupButton
JPopupButton opacityPopupButton
exportChooser
javax.swing.JFileChooser exportChooser
undo
UndoRedoManager undo
- Each ODGView uses its own undo redo manager.
This allows for undoing and redoing actions per view.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
view, or a single shared editor for all views.
fileFilterInputFormatMap
java.util.HashMap<K,V> fileFilterInputFormatMap
fileFilterOutputFormatMap
java.util.HashMap<K,V> fileFilterOutputFormatMap
visibleConstrainer
GridConstrainer visibleConstrainer
invisibleConstrainer
GridConstrainer invisibleConstrainer
prefs
java.util.prefs.Preferences prefs
propertiesPanel
ODGPropertiesPanel propertiesPanel
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
pathPrototype
SVGPathFigure pathPrototype
- The path prototype for new figures.
Package org.jhotdraw.samples.odg.action |
Package org.jhotdraw.samples.odg.figures |
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
ellipse
java.awt.geom.Ellipse2D.Double ellipse
cachedTransformedShape
java.awt.Shape cachedTransformedShape
- This is used to perform faster drawing and hit testing.
attributes
java.util.HashMap<K,V> attributes
cachedPath
java.awt.geom.GeneralPath cachedPath
- This cachedPath is used for drawing.
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
roundrect
java.awt.geom.RoundRectangle2D.Double roundrect
cachedTransformedShape
java.awt.Shape cachedTransformedShape
- This is used to perform faster drawing.
cachedHitShape
java.awt.Shape cachedHitShape
- This is used to perform faster hit testing.
Package org.jhotdraw.samples.odg.geom |
windingRule
int windingRule
- The winding rule for filling the bezier path.
Package org.jhotdraw.samples.pert |
drawingPanel
PertPanel drawingPanel
toolButtonGroup
javax.swing.ButtonGroup toolButtonGroup
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all views.
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 view uses its own undo redo manager.
This allows for undoing and redoing actions per view.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
view, or a single shared editor for all views.
prefs
java.util.prefs.Preferences prefs
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
Package org.jhotdraw.samples.pert.figures |
dependencies
java.util.HashSet<E> dependencies
startTime
int startTime
- Derived attribute. We cache it here for efficiency reasons.
Package org.jhotdraw.samples.svg |
pathPrototype
SVGPathFigure pathPrototype
- The path prototype for new figures.
drawingPanel
SVGDrawingPanel drawingPanel
gridConstrainer
GridConstrainer gridConstrainer
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all views.
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
labels
ResourceBundleUtil labels
editor
DrawingEditor editor
opacitySlider
JDoubleAttributeSlider opacitySlider
linkField
JStringAttributeField linkField
linkLabel
javax.swing.JLabel linkLabel
opacityField
JDoubleAttributeField opacityField
opacityLabel
javax.swing.JLabel opacityLabel
opacityPopupButton
JPopupButton opacityPopupButton
exportChooser
javax.swing.JFileChooser exportChooser
undo
UndoRedoManager undo
- Each SVGView uses its own undo redo manager.
This allows for undoing and redoing actions per view.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
view, or a single shared editor for all views.
fileFilterInputFormatMap
java.util.HashMap<K,V> fileFilterInputFormatMap
fileFilterOutputFormatMap
java.util.HashMap<K,V> fileFilterOutputFormatMap
prefs
java.util.prefs.Preferences prefs
propertiesPanel
SVGPropertiesPanel propertiesPanel
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
Package org.jhotdraw.samples.svg.action |
labels
ResourceBundleUtil labels
Package org.jhotdraw.samples.svg.figures |
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
ellipse
java.awt.geom.Ellipse2D.Double ellipse
cachedTransformedShape
java.awt.Shape cachedTransformedShape
- This is used to perform faster drawing and hit testing.
attributes
java.util.HashMap<K,V> attributes
rectangle
java.awt.geom.Rectangle2D.Double rectangle
- This rectangle describes the bounds into which we draw the image.
cachedTransformedShape
java.awt.Shape cachedTransformedShape
- This is used to perform faster drawing.
cachedHitShape
java.awt.Shape cachedHitShape
- This is used to perform faster hit testing.
imageData
byte[] imageData
- The image data. This can be null, if the image was created from a
BufferedImage.
bufferedImage
java.awt.image.BufferedImage bufferedImage
- The buffered image. This can be null, if we haven't yet parsed the
imageData.
cachedPath
java.awt.geom.GeneralPath cachedPath
- This cachedPath is used for drawing.
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
roundrect
java.awt.geom.RoundRectangle2D.Double roundrect
cachedTransformedShape
java.awt.Shape cachedTransformedShape
- This is used to perform faster drawing.
cachedHitShape
java.awt.Shape cachedHitShape
- This is used to perform faster hit testing.
bounds
java.awt.geom.Rectangle2D.Double bounds
editable
boolean editable
isTextOverflow
java.lang.Boolean isTextOverflow
- This is a cached value to improve the performance of method isTextOverflow();
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
- This is used to perform faster drawing and hit testing.
cachedTextShape
java.awt.Shape cachedTextShape
coordinates
java.awt.geom.Point2D.Double[] coordinates
rotates
double[] rotates
editable
boolean editable
cachedTextShape
java.awt.Shape cachedTextShape
- This is used to perform faster drawing and hit testing.
cachedBounds
java.awt.geom.Rectangle2D.Double cachedBounds
cachedDrawingArea
java.awt.geom.Rectangle2D.Double cachedDrawingArea
Package org.jhotdraw.samples.teddy |
charSetCombo
javax.swing.JComboBox charSetCombo
charSetLabel
javax.swing.JLabel charSetLabel
lineSepCombo
javax.swing.JComboBox lineSepCombo
lineSepLabel
javax.swing.JLabel lineSepLabel
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
wrap
boolean wrap
editor
javax.swing.JTextPane editor
editorViewport
org.jhotdraw.samples.teddy.TeddyView.EditorPanel editorViewport
undoManager
UndoRedoManager undoManager
- The undo/redo manager.
findDialog
FindDialog findDialog
- The panel used for the find feature.
matcher
Matcher matcher
- The Matcher used to perform find operation.
characterSetAccessory
CharacterSetAccessory characterSetAccessory
caretInfoLabel
javax.swing.JLabel caretInfoLabel
scrollPane
javax.swing.JScrollPane scrollPane
statusBar
javax.swing.JPanel statusBar
Package org.jhotdraw.samples.teddy.action |
findDialog
FindDialog findDialog
app
Application app
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
Package org.jhotdraw.samples.teddy.text |
viewFactory
NumberedViewFactory viewFactory
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.