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
prefs
java.util.prefs.Preferences prefs
activeView
View activeView
recentFiles
java.util.LinkedList<E> recentFiles
actionMap
javax.swing.ActionMap actionMap
openChooser
URIChooser openChooser
saveChooser
URIChooser saveChooser
importChooser
URIChooser importChooser
exportChooser
URIChooser exportChooser
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
application
Application application
executor
java.util.concurrent.ExecutorService executor
hasUnsavedChanges
boolean hasUnsavedChanges
- This is set to true, if the view has unsaved changes.
preferences
java.util.prefs.Preferences preferences
- The preferences of the view.
multipleOpenId
int multipleOpenId
- This id is used to make multiple open views of the same URI
identifiable.
isShowing
boolean isShowing
- This is set to true, if the view is showing.
title
java.lang.String title
- The title of the view.
disposables
java.util.LinkedList<E> disposables
uri
java.net.URI uri
- The URI of the view.
Has a null value, if the view has not been loaded from a URI
or has not been saved yet.
applet
javax.swing.JApplet applet
view
View view
menuBuilder
MenuBuilder menuBuilder
parentFrame
javax.swing.JFrame parentFrame
scrollPane
javax.swing.JScrollPane scrollPane
desktopPane
JMDIDesktopPane desktopPane
prefs
java.util.prefs.Preferences prefs
toolBarActions
java.util.LinkedList<E> toolBarActions
paletteHandler
OSXPaletteHandler paletteHandler
prefs
java.util.prefs.Preferences prefs
paletteActions
java.util.LinkedList<E> paletteActions
invisibleFrame
javax.swing.JFrame invisibleFrame
- The "invisible" frame is used to hold the frameless menu bar on Mac OS X.
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
Package org.jhotdraw.app.action.app |
oldFocusOwner
java.awt.Component oldFocusOwner
unsavedView
View unsavedView
fileChooser
javax.swing.JFileChooser fileChooser
entries
int entries
fileChooser
javax.swing.JFileChooser fileChooser
entries
int entries
Package org.jhotdraw.app.action.edit |
target
javax.swing.JComponent target
propertyHandler
java.beans.PropertyChangeListener propertyHandler
- This variable keeps a strong reference on the property change listener.
target
javax.swing.JComponent target
propertyHandler
java.beans.PropertyChangeListener propertyHandler
- This variable keeps a strong reference on the property change listener.
labels
ResourceBundleUtil labels
redoActionPropertyListener
java.beans.PropertyChangeListener redoActionPropertyListener
labels
ResourceBundleUtil labels
redoActionPropertyListener
java.beans.PropertyChangeListener redoActionPropertyListener
Package org.jhotdraw.app.action.file |
applicationListener
java.beans.PropertyChangeListener applicationListener
oldFocusOwner
java.awt.Component oldFocusOwner
uri
java.net.URI uri
uri
java.net.URI uri
saveAs
boolean saveAs
oldFocusOwner
java.awt.Component oldFocusOwner
Package org.jhotdraw.app.action.view |
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
propertyName
java.lang.String propertyName
parameterClass
java.lang.Class<T>[] parameterClass
propertyValue
java.lang.Object propertyValue
setterName
java.lang.String setterName
getterName
java.lang.String getterName
viewListener
java.beans.PropertyChangeListener viewListener
Package org.jhotdraw.app.action.window |
arrangeable
Arrangeable arrangeable
arrangement
Arrangeable.Arrangement arrangement
view
View view
ppc
java.beans.PropertyChangeListener ppc
palette
java.awt.Window palette
app
OSXApplication app
windowHandler
java.awt.event.WindowListener windowHandler
toolBar
javax.swing.JToolBar toolBar
propertyHandler
java.beans.PropertyChangeListener propertyHandler
component
java.awt.Component component
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 model.
Xw
double Xw
- The X coordinate of the reference white.
Yw
double Yw
- The Y coordinate of the reference white.
Zw
double Zw
- The Z coordinate of the reference white.
outsideGamutHandling
CIELABColorSpace.OutsideGamutHandling outsideGamutHandling
- By default, clamps non-displayable RGB values.
Xr
double Xr
Yr
double Yr
- The Y coordinate of the D50 reference white.
Zr
double Zr
- The Z coordinate of the D50 reference white.
isClampRGB
boolean isClampRGB
- By default, clamps non-displayable RGB values.
icon
ColorListCellRenderer.ColorIcon icon
colorWheel
JColorWheel colorWheel
ccModel
ColorSliderModel ccModel
updatingChooser
int updatingChooser
brightnessSlider
javax.swing.JSlider brightnessSlider
fvalue
float[] fvalue
falpha
float falpha
- The alpha value as a
float
component.
If frgbvalue
is null
, this is not valid
data, so compute from the int
color value.
-
- See Also:
Color.getRGBComponents(float[])
,
CompositeColor.getComponents(float[])
cs
java.awt.color.ColorSpace cs
colorSpace
java.awt.color.ColorSpace colorSpace
sliders
java.util.LinkedList<E> sliders
- JSlider's associated to this model.
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
isFlipX
boolean isFlipX
isFlipY
boolean isFlipY
type
JColorWheel.Type type
sys
java.awt.color.ColorSpace sys
wheelInsets
java.awt.Insets wheelInsets
colorWheelImage
java.awt.Image colorWheelImage
colorWheelProducer
AbstractColorWheelImageProducer 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.
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
isConnectable
boolean isConnectable
changingDepth
int changingDepth
- This variable is used to prevent endless change loops.
We increase its value on each invocation of willChange() and
decrease it on each invocation of changed().
key
java.lang.String key
- Holds a String representation of the attribute key.
defaultValue
java.lang.Object defaultValue
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.
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
toolHandler
DefaultDrawingEditor.ToolHandler toolHandler
inputMap
javax.swing.InputMap inputMap
- The input map of the drawing editor.
actionMap
javax.swing.ActionMap actionMap
- The action map of the drawing editor.
focusHandler
java.awt.event.FocusListener focusHandler
- The focus handler.
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
drawingBufferNV
java.awt.image.BufferedImage drawingBufferNV
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
rectangle
java.awt.geom.Rectangle2D.Double rectangle
- The bounds of the diamond figure.
target
DrawingEditor target
forwarder
DrawingEditorProxy.Forwarder forwarder
ellipse
java.awt.geom.Ellipse2D.Double ellipse
attributes
java.util.HashMap<K,V> attributes
forbiddenAttributes
java.util.HashSet<E> forbiddenAttributes
presentationFigure
Figure presentationFigure
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.
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
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.
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
roundrect
java.awt.geom.RoundRectangle2D.Double roundrect
bounds
java.awt.geom.Rectangle2D.Double bounds
editable
boolean editable
isTextOverflow
java.lang.Boolean isTextOverflow
origin
java.awt.geom.Point2D.Double origin
editable
boolean editable
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
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
key
AttributeKey<T> key
colorChooser
javax.swing.JColorChooser colorChooser
popupMenu
javax.swing.JPopupMenu popupMenu
isUpdating
int isUpdating
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
excludedAttributes
java.util.Set<E> excludedAttributes
key
AttributeKey<T> key
colorChooser
javax.swing.JColorChooser colorChooser
popupMenu
javax.swing.JPopupMenu popupMenu
isUpdating
int isUpdating
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.draw.connector |
owner
Figure owner
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.
locator
Locator locator
angle
float angle
Package org.jhotdraw.draw.decoration |
isFilled
boolean isFilled
- If this is true, the decoration is filled.
isStroked
boolean isStroked
- If this is true, the decoration is stroked.
isSolid
boolean isSolid
- If this is true, the stroke color is used to fill the decoration.
angle
double angle
- Pointiness of arrow.
outerRadius
double outerRadius
innerRadius
double innerRadius
decorations
java.util.List<E> decorations
path
java.awt.geom.Path2D.Double path
decorationRadius
double decorationRadius
height
double height
Package org.jhotdraw.draw.event |
owner
Figure owner
name
AttributeKey<T> name
oldValue
java.lang.Object oldValue
newValue
java.lang.Object newValue
owner
BezierFigure owner
index
int index
oldValue
BezierPath.Node oldValue
newValue
BezierPath.Node newValue
figure
Figure figure
invalidatedArea
java.awt.geom.Rectangle2D.Double invalidatedArea
child
Figure child
index
int index
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
invalidatedArea
java.awt.Rectangle invalidatedArea
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
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
Package org.jhotdraw.draw.gui |
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.
Package org.jhotdraw.draw.locator |
index
int index
coord
int coord
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.
Package org.jhotdraw.draw.tool |
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.
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
nodeCountBeforeDrag
int nodeCountBeforeDrag
presentationName
java.lang.String presentationName
mouseLocation
java.awt.Point mouseLocation
creationView
DrawingView creationView
- Holds the view on which we are currently creating a figure.
prototypeAttributes
java.util.Map<K,V> prototypeAttributes
startConnector
Connector startConnector
endConnector
Connector endConnector
createdFigure
ConnectionFigure createdFigure
prototype
ConnectionFigure prototype
- the prototypical figure that is used to create new
connections.
targetFigure
Figure targetFigure
connectors
java.util.Collection<E> connectors
presentationName
java.lang.String presentationName
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
presentationName
java.lang.String presentationName
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
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.
anchorFigure
Figure anchorFigure
dragRect
java.awt.geom.Rectangle2D.Double dragRect
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
transformedFigures
java.util.HashSet<E> transformedFigures
dragLocation
java.awt.Point dragLocation
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
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
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
popupMenu
javax.swing.JPopupMenu popupMenu
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.
anchorFigure
Figure anchorFigure
dragRect
java.awt.geom.Rectangle2D.Double dragRect
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
fileDialog
java.awt.FileDialog fileDialog
fileChooser
javax.swing.JFileChooser fileChooser
useFileDialog
boolean useFileDialog
workerThread
java.lang.Thread workerThread
tracker
Tool tracker
- The tracker encapsulates the current state of the SelectionTool.
handleTracker
HandleTracker handleTracker
- The tracker encapsulates the current state of the SelectionTool.
selectAreaTracker
SelectAreaTracker selectAreaTracker
- The tracker encapsulates the current state of the SelectionTool.
dragTracker
DragTracker dragTracker
- The tracker encapsulates the current state of the SelectionTool.
trackerHandler
SelectionTool.TrackerHandler trackerHandler
isSelectBehindEnabled
boolean isSelectBehindEnabled
- Represents the state of the selectBehindEnabled property.
By default, this property is set to true.
textArea
FloatingTextArea textArea
typingTarget
TextHolderFigure typingTarget
rubberbandColor
java.awt.Color rubberbandColor
textArea
FloatingTextArea textArea
typingTarget
TextHolderFigure typingTarget
textField
FloatingTextField textField
typingTarget
TextHolderFigure typingTarget
textField
FloatingTextField textField
typingTarget
TextHolderFigure typingTarget
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
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
outside
java.util.HashMap<K,V> outside
root
QuadTree.QuadNode root
maxCapacity
int maxCapacity
minSize
int minSize
maxOutside
int maxOutside
isAWTEventListenerPermitted
boolean isAWTEventListenerPermitted
- Wether we are permitted to listen on AWT events.
handler
JComponentPopup.Handler handler
disclosureButton
javax.swing.JButton disclosureButton
selectionPath
javax.swing.tree.TreePath selectionPath
selectedFont
java.awt.Font selectedFont
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
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.
manager
MDIDesktopManager manager
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
popupBecameInvisible
long popupBecameInvisible
- The time when the popup became invisible.
isCloseAutomatically
boolean isCloseAutomatically
- Whether the popup menu closes automatically, when another popup menu
is opened.
handler
JPopupButton.Handler handler
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
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
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
java.lang.Object 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
noFocusBorder
javax.swing.border.Border noFocusBorder
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.gui.plaf.palette.colorchooser |
ccModel
ColorSliderModel ccModel
updateRecursion
int updateRecursion
labels
PaletteLookAndFeel labels
blackField
javax.swing.JTextField blackField
blackFieldLabel
javax.swing.JLabel blackFieldLabel
blackFieldPanel
javax.swing.JPanel blackFieldPanel
blackLabel
javax.swing.JLabel blackLabel
blackSlider
javax.swing.JSlider blackSlider
cyanField
javax.swing.JTextField cyanField
cyanFieldLabel
javax.swing.JLabel cyanFieldLabel
cyanFieldPanel
javax.swing.JPanel cyanFieldPanel
cyanLabel
javax.swing.JLabel cyanLabel
cyanSlider
javax.swing.JSlider cyanSlider
magentaField
javax.swing.JTextField magentaField
magentaFieldLabel
javax.swing.JLabel magentaFieldLabel
magentaFieldPanel
javax.swing.JPanel magentaFieldPanel
magentaLabel
javax.swing.JLabel magentaLabel
magentaSlider
javax.swing.JSlider magentaSlider
springPanel
javax.swing.JPanel springPanel
yellowField
javax.swing.JTextField yellowField
yellowFieldLabel
javax.swing.JLabel yellowFieldLabel
yellowFieldPanel
javax.swing.JPanel yellowFieldPanel
yellowLabel
javax.swing.JLabel yellowLabel
yellowSlider
javax.swing.JSlider yellowSlider
tabbedPane
javax.swing.JTabbedPane tabbedPane
toolBarButtonGroup
javax.swing.ButtonGroup toolBarButtonGroup
slidersComboBox
javax.swing.JComboBox slidersComboBox
slidersHolder
javax.swing.JPanel slidersHolder
colorWheel
JColorWheel colorWheel
ccModel
PaletteColorSliderModel ccModel
updatingChooser
int updatingChooser
brightnessSlider
javax.swing.JSlider brightnessSlider
ccModel
ColorSliderModel ccModel
updatingChooser
int updatingChooser
labels
PaletteLookAndFeel labels
brightnessField
javax.swing.JTextField brightnessField
brightnessFieldLabel
javax.swing.JLabel brightnessFieldLabel
brightnessFieldPanel
javax.swing.JPanel brightnessFieldPanel
brightnessLabel
javax.swing.JLabel brightnessLabel
brightnessSlider
javax.swing.JSlider brightnessSlider
hueField
javax.swing.JTextField hueField
hueFieldLabel
javax.swing.JLabel hueFieldLabel
hueFieldPanel
javax.swing.JPanel hueFieldPanel
hueLabel
javax.swing.JLabel hueLabel
hueSlider
javax.swing.JSlider hueSlider
saturationField
javax.swing.JTextField saturationField
saturationFieldLabel
javax.swing.JLabel saturationFieldLabel
saturationFieldPanel
javax.swing.JPanel saturationFieldPanel
saturationLabel
javax.swing.JLabel saturationLabel
saturationSlider
javax.swing.JSlider saturationSlider
springPanel
javax.swing.JPanel springPanel
ccModel
ColorSliderModel ccModel
updateRecursion
int updateRecursion
labels
PaletteLookAndFeel labels
blueField
javax.swing.JTextField blueField
blueLabel
javax.swing.JLabel blueLabel
blueSlider
javax.swing.JSlider blueSlider
greenField
javax.swing.JTextField greenField
greenLabel
javax.swing.JLabel greenLabel
greenSlider
javax.swing.JSlider greenSlider
redField
javax.swing.JTextField redField
redLabel
javax.swing.JLabel redLabel
redSlider
javax.swing.JSlider redSlider
springPanel
javax.swing.JPanel springPanel
updateRecursion
int updateRecursion
jList
javax.swing.JList jList
Package org.jhotdraw.samples.color |
imageProducer
CIEXYChromaticityDiagramImageProducer imageProducer
image
java.awt.Image image
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
border
javax.swing.border.Border border
- Deprecated.
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
JFileURIChooser exportChooser
undo
UndoRedoManager undo
- Each ODGView uses its own undo redo manager.
This allows for undoing and redoing actions per view.
editor
DrawingEditor editor
- Depending on the type of an application, there may be one editor per
view, or a single shared editor for all views.
visibleConstrainer
GridConstrainer visibleConstrainer
invisibleConstrainer
GridConstrainer invisibleConstrainer
propertiesPanel
ODGPropertiesPanel propertiesPanel
scrollPane
javax.swing.JScrollPane scrollPane
view
DefaultDrawingView view
pathPrototype
SVGPathFigure pathPrototype
- The path prototype for new figures.
Package org.jhotdraw.samples.odg.action |
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
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
JFileURIChooser exportChooser
undo
UndoRedoManager undo
- Each SVGView uses its own undo redo manager.
This allows for undoing and redoing actions per view.
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.
labels
ResourceBundleUtil labels
labels
ResourceBundleUtil labels
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
bufferedImage
java.awt.image.BufferedImage bufferedImage
roundrect
java.awt.geom.RoundRectangle2D.Double roundrect
bounds
java.awt.geom.Rectangle2D.Double bounds
editable
boolean editable
isTextOverflow
java.lang.Boolean 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
undoManager
UndoRedoManager undoManager
actions
java.util.ArrayList<E> actions
popupButton
JPopupButton popupButton
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.
caretInfoLabel
javax.swing.JLabel caretInfoLabel
scrollPane
javax.swing.JScrollPane scrollPane
statusBar
javax.swing.JPanel statusBar
Package org.jhotdraw.samples.teddy.action |
findDialog
FindDialog findDialog
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
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.
numberFormat
java.text.DecimalFormat numberFormat
labels
ResourceBundleUtil labels
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
allowsNullValue
boolean allowsNullValue
- Specifies whether the formatter allows null values.
min
java.lang.Comparable<T> min
max
java.lang.Comparable<T> max
unit
java.lang.String unit
decimalFormat
java.text.DecimalFormat decimalFormat
scientificFormat
java.text.DecimalFormat scientificFormat
multiplier
double multiplier
minIntDigits
int minIntDigits
maxIntDigits
int maxIntDigits
minFractionDigits
int minFractionDigits
maxFractionDigits
int maxFractionDigits
minNegativeExponent
int minNegativeExponent
minPositiveExponent
int minPositiveExponent
usesScientificNotation
boolean usesScientificNotation
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.