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
unmodifiableViews
java.util.Collection<E> unmodifiableViews
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.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.
actions
java.util.HashMap<K,V> actions
- Hash map for storing view actions by their ID.
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 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.
disposables
java.util.LinkedList<E> disposables
- List of objects that need to be disposed when this view is disposed.
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
view
View view
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
ppc
java.beans.PropertyChangeListener ppc
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
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 |
listeners
java.util.LinkedList<E> listeners
- ChangeListener's listening to changes in this AbstractColorSystem.
icon
ColorListCellRenderer.ColorIcon icon
colorWheel
JColorWheel colorWheel
ccModel
ColorSliderModel ccModel
updatingChooser
int updatingChooser
brightnessSlider
javax.swing.JSlider brightnessSlider
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.
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
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
JColorWheel.MouseHandler mouseHandler
modelHandler
JColorWheel.ModelHandler modelHandler
harmonicModel
HarmonicColorModel harmonicModel
selectedIndex
int selectedIndex
handleRadius
float handleRadius
baseRadius
float baseRadius
mouseHandler
JHarmonicColorWheel.MouseHandler mouseHandler
modelHandler
JHarmonicColorWheel.ModelHandler modelHandler
|
Package org.jhotdraw.draw |
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().
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 put by the put() operation.
They can only be changed by put().
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.
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.
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
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.
path
BezierPath path
- The BezierPath.
index
int index
coord
int coord
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.
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.
figure
Figure figure
invalidatedArea
java.awt.geom.Rectangle2D.Double invalidatedArea
child
Figure child
index
int index
decorations
java.util.List<E> decorations
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.
shoulderSize
double shoulderSize
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
needsSorting
boolean needsSorting
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
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.
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
DefaultDrawingView.EventHandler eventHandler
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.
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.
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.
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.
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
target
DrawingEditor target
forwarder
DrawingEditorProxy.Forwarder forwarder
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
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
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
writeObject
private void writeObject(java.io.ObjectOutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
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.
fileDialog
java.awt.FileDialog fileDialog
fileChooser
javax.swing.JFileChooser fileChooser
useFileDialog
boolean useFileDialog
workerThread
java.lang.Thread workerThread
layouter
Layouter layouter
children
java.util.ArrayList<E> children
childHandler
LabeledLineConnectionFigure.ChildHandler childHandler
- Handles figure changes in the children.
target
TextHolderFigure target
startConnector
Connector startConnector
endConnector
Connector endConnector
liner
Liner liner
connectionHandler
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
rectangle
java.awt.geom.Rectangle2D.Double rectangle
isQuadratic
boolean isQuadratic
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.
roundrect
java.awt.geom.RoundRectangle2D.Double roundrect
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.
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
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.
textArea
FloatingTextArea textArea
typingTarget
TextHolderFigure typingTarget
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();
textField
FloatingTextField textField
typingTarget
TextHolderFigure typingTarget
textField
FloatingTextField textField
typingTarget
TextHolderFigure typingTarget
origin
java.awt.geom.Point2D.Double origin
editable
boolean editable
invalidatedArea
java.awt.Rectangle invalidatedArea
view
DrawingView view
figures
java.util.Collection<E> figures
tx
java.awt.geom.AffineTransform tx
owner
Figure owner
oldTransformRestoreData
java.lang.Object oldTransformRestoreData
newTransformRestoreData
java.lang.Object newTransformRestoreData
rectangle
java.awt.geom.Rectangle2D.Double rectangle
- The bounds of the triangle figure.
|
Package org.jhotdraw.draw.action |
editor
DrawingEditor editor
eventHandler
AbstractDrawingEditorAction.EventHandler eventHandler
editor
DrawingEditor editor
specificView
DrawingView specificView
eventHandler
AbstractDrawingViewAction.EventHandler eventHandler
editor
DrawingEditor editor
labels
ResourceBundleUtil labels
eventHandler
AbstractSelectedAction.EventHandler eventHandler
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
attributes
java.util.Map<K,V> attributes
editor
DrawingEditor editor
key
AttributeKey<T> key
colorShape
java.awt.Shape colorShape
frame
javax.swing.JFrame frame
settingsPanel
EditCanvasPanel settingsPanel
propertyChangeHandler
java.beans.PropertyChangeListener propertyChangeHandler
app
Application app
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
dialog
javax.swing.JDialog dialog
settingsPanel
EditGridPanel settingsPanel
propertyChangeHandler
java.beans.PropertyChangeListener propertyChangeHandler
app
Application app
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
key
AttributeKey<T> key
editor
DrawingEditor editor
key
AttributeKey<T> key
colorShape
java.awt.Shape colorShape
key
AttributeKey<T> key
fontChooser
JFontChooser fontChooser
popupMenu
javax.swing.JPopupMenu popupMenu
isUpdating
int isUpdating
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
excludedAttributes
java.util.Set<E> excludedAttributes
editor
DrawingEditor editor
key
AttributeKey<T> key
colorShape
java.awt.Shape colorShape
prototype
CompositeFigure prototype
- Creates a new instance.
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.
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.
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
left
double left
bottom
double bottom
right
double right
top
float top
left
float left
bottom
float bottom
right
float right
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.
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.
isMultipleValues
boolean isMultipleValues
attributeValue
java.lang.Double attributeValue
scaleFactor
double scaleFactor
isMultipleValues
boolean isMultipleValues
- This variable is set to true, when the figures, which are currently
being edited by this field, have multiple values.
isMultipleValues
boolean isMultipleValues
- This variable is set to true, when the figures, which are currently
being edited by this field, have multiple values.
disclosureButton
javax.swing.JButton disclosureButton
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
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.
value
java.lang.Object value
- Last valid value.
documentHandler
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.
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
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.
manager
MDIDesktopManager manager
axis
int axis
- Specifies the axis of the layout.
hgap
int hgap
vgap
int vgap
rows
int rows
cols
int cols
isVertical
boolean isVertical
|
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.gui.plaf.palette |
previewLabel
javax.swing.JLabel previewLabel
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
cachedDefaults
javax.swing.UIDefaults cachedDefaults
- Cached defaults.
rootPane
javax.swing.JRootPane rootPane
borderColor
java.awt.Color borderColor
orientation
int orientation
offset
java.awt.Point offset
|
Package org.jhotdraw.samples.color |
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
color
java.awt.Color color
colorLabel
javax.swing.JLabel colorLabel
models
java.util.LinkedList<E> models
handler
WheelsAndSlidersMain.Handler handler
chooserPanel
javax.swing.JPanel chooserPanel
previewLabel
javax.swing.JLabel previewLabel
|
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.font |
|
Package org.jhotdraw.samples.mini |
examples
java.util.ArrayList<E> examples
dumpDialog
javax.swing.JDialog dumpDialog
dumpArea
javax.swing.JTextArea dumpArea
handler
BezierDemo.MouseHandler handler
canvas
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
line
java.awt.geom.Line2D.Double line
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 |
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.
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
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
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
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 |
ellipse
java.awt.geom.Ellipse2D.Double ellipse
attributes
java.util.HashMap<K,V> attributes
roundrect
java.awt.geom.RoundRectangle2D.Double roundrect
|
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.
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
|
Package org.jhotdraw.samples.pert.figures |
dependencies
java.util.HashSet<E> dependencies
|
Package org.jhotdraw.samples.svg |
pathPrototype
SVGPathFigure pathPrototype
- The path prototype for new figures.
drawingComponent
SVGDrawingPanel drawingComponent
version
java.lang.String version
- Lazily initialized in method getVersion();
start
long start
gridConstrainer
GridConstrainer gridConstrainer
sharedEditor
DefaultDrawingEditor sharedEditor
- This editor is shared by all views.
fileDialog
java.awt.FileDialog fileDialog
fileChooser
javax.swing.JFileChooser fileChooser
workerThread
java.lang.Thread workerThread
groupPrototype
CompositeFigure groupPrototype
imagePrototype
ImageHolderFigure imagePrototype
useFileDialog
boolean useFileDialog
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
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.
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 |
prototype
CompositeFigure prototype
isCombineAction
boolean isCombineAction
- If this variable is true, this action groups figures.
If this variable is false, this action ungroups figures.
|
Package org.jhotdraw.samples.svg.figures |
ellipse
java.awt.geom.Ellipse2D.Double ellipse
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.
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.
roundrect
java.awt.geom.RoundRectangle2D.Double roundrect
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();
coordinates
java.awt.geom.Point2D.Double[] coordinates
rotates
double[] rotates
editable
boolean editable
|
Package org.jhotdraw.samples.svg.gui |
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
toggleGridAction
ToggleGridAction toggleGridAction
undoManager
UndoRedoManager undoManager
displayer
SelectionComponentDisplayer displayer
displayer
SelectionComponentDisplayer displayer
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
displayer
SelectionComponentDisplayer displayer
labels
ResourceBundleUtil labels
displayer
SelectionComponentDisplayer displayer
displayer
SelectionComponentDisplayer displayer
displayer
SelectionComponentDisplayer displayer
labels
ResourceBundleUtil labels
listeners
javax.swing.event.EventListenerList listeners
labels
ResourceBundleUtil labels
closeButton
javax.swing.JButton closeButton
iconLabel
javax.swing.JLabel iconLabel
messageLabel
javax.swing.JLabel messageLabel
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
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
displayer
SelectionComponentDisplayer displayer
labels
ResourceBundleUtil labels
summaryField
javax.swing.JTextField summaryField
summaryLabel
javax.swing.JLabel summaryLabel
view
DrawingView view
|
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
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.text |
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.
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.
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 |
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
UndoRedoManager.UndoAction undoAction
- The undo action instance.
redoAction
UndoRedoManager.RedoAction redoAction
- The redo action instance.
|
Package org.jhotdraw.util |
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
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.