Serialized Form
|
Package org.tigris.gef.base |
_args
java.util.Hashtable<K,V> _args
- Arguments that configure the Cmd instance.
_resource
java.lang.String _resource
direction
int direction
- Specification of the type of alignment requested
_request
int _request
- Specification of the type of distribution requested
_bbox
java.awt.Rectangle _bbox
_selectedHandle
int _selectedHandle
_direction
int _direction
_magnitude
int _magnitude
serialVersionUID: 0L
serialVersionUID: 0L
printerJob
java.awt.print.PrinterJob printerJob
pageFormat
java.awt.print.PageFormat pageFormat
maxPageIndex
int maxPageIndex
fitDiagramToPage
boolean fitDiagramToPage
isFirstPrintCall
boolean isFirstPrintCall
scale
double scale
nCol
int nCol
pageX
double pageX
pageY
double pageY
pageWidth
double pageWidth
pageHeight
double pageHeight
diagramX
double diagramX
diagramY
double diagramY
diagramWidth
double diagramWidth
diagramHeight
double diagramHeight
cmdPrint
CmdPrint cmdPrint
_selectedHandle
int _selectedHandle
function
int function
_direction
int _direction
_magnitude
int _magnitude
_direction
int _direction
_magnitude
int _magnitude
_cmds
java.util.Vector<E> _cmds
_modeArgs
java.util.Hashtable<K,V> _modeArgs
- Arguments to pass to the new mode instance after creation.
_url
java.net.URL _url
_magnitude
double _magnitude
_name
java.lang.String _name
_comments
java.lang.String _comments
_layer
LayerPerspective _layer
_propertyChangeListeners
java.util.Set<E> _propertyChangeListeners
_modeManager
ModeManager _modeManager
- The user interface mode that the Editor is currently
in. Generally Modes that the user has to think about are a bad
idea. But even in a very easy to use editor there are plenty of
"spring-loaded" modes that change the way the system interprets
input. For example, when placing a new node, the editor is in
ModePlace, and when dragging a handle of an object the editor is
in ModeModify. In each case moving or dragging the mouse has a
different effect.
- See Also:
ModeModify,
ModeSelect,
ModePlace
_document
java.lang.Object _document
- This points to the document object that the user is working
on. At this point the framework does not have a very strong
concept of document and there is no class Document. For now the
meaning of this pointer is in the hands of the person applying
this framework to an application.
_selectionManager
SelectionManager _selectionManager
- All the selection objects for what the user currently has
selected.
_layerManager
LayerManager _layerManager
- The LayerManager for this Editor.
_guide
Guide _guide
- The grid to snap points to.
_curFig
Fig _curFig
- The Fig that the mouse is in.
_curSel
Selection _curSel
- The Selection object that the mouse is in.
_scale
double _scale
- The scale at which to draw the diagram
_canSelectElements
boolean _canSelectElements
- Should elements in this editor be selectable?
_renderingHints
java.awt.RenderingHints _renderingHints
serialVersionUID: 7960954871341784898L
editor
Editor editor
- The Editor that is in this mode. Each Mode instance belongs to
exactly one Editor instance.
_gridSize
int _gridSize
- Size of the grid.
_name
java.lang.String _name
- The name of the layer as it should appear in a menu.
_type
java.lang.String _type
- The type of FigNodes that should appear in this layer.
_hidden
boolean _hidden
- Does the user not want to see this Layer right now?
Needs-More-Work.
_grayed
boolean _grayed
- Is this Layer demphasized by making everything in it gray?
Needs-More-Work.
_locked
boolean _locked
- Is this Layer locked so that the user can not modify it?
Needs-More-Work.
_alwaysOnTop
boolean _alwaysOnTop
- Should this layer alwys stay on top (i.e. always be the active layer)?
_scale
double _scale
- The current zooming scale this layer is displayed in
_onMenu
boolean _onMenu
- Should the user be able to hide, lock, or gray this layer?
Needs-More-Work.
_contents
java.util.List<E> _contents
- The Fig's that are contained in this layer.
_spacing
int _spacing
- The spacing between the lines.
_paintLines
boolean _paintLines
- True means paint grid lines, false means paint only dots where the
lines would intersect. Painting dots is about as useful as painting
lines and it looks less cluttered. But lines are more familiar to
some people.
_paintDots
boolean _paintDots
_stampWidth
int _stampWidth
- The size of the image stamp.
_stampHeight
int _stampHeight
- The size of the image stamp.
_color
java.awt.Color _color
- The color of the grid lines or dots.
_bgColor
java.awt.Color _bgColor
- The color of the space between the lines or dots.
_paintBackground
boolean _paintBackground
- True means to fill in the image stamp or drawing area with the
background color. False means to just paint the lines or dots.
_dotSize
int _dotSize
- The size of the dots. Dots are actually small rectangles.
_style
int _style
- As an example of different grid styles 5 are
defined. Needs-More-Work: I should use the property sheet to
adjust the grid.
- See Also:
LayerGrid.adjust()
NUM_STYLES
int NUM_STYLES
_layers
java.util.List<E> _layers
- The Layer's contained within this LayerManager.
_activeLayer
Layer _activeLayer
- In most editors one Layer is the active layer and all mouse
clicks go to the contents of that layer. For now I assume this,
but I would like to avoid this assumption in the future.
_paintActiveOnly
boolean _paintActiveOnly
- Should only the active layer be repainted?
_paintLayers
boolean _paintLayers
- Should only the known layers be repainted?
_editor
Editor _editor
DASH_LENGTH
int DASH_LENGTH
- The size of the dashes drawn when the Fig is dashed.
GAP_LENGTH
int GAP_LENGTH
_paintLines
boolean _paintLines
- True means paint PageBreaks lines.
_color
java.awt.Color _color
- The color of the grid lines or dots.
_pageSize
java.awt.Dimension _pageSize
- The size of the page in pixels. Needs-More-Work: this is a
hack. To get the true page size I need to start a print job!
_gm
GraphModel _gm
- The underlying connected graph to be visualized.
_controller
GraphController _controller
_nodeRenderer
GraphNodeRenderer _nodeRenderer
_edgeRenderer
GraphEdgeRenderer _edgeRenderer
_allowedNetClasses
java.util.Vector<E> _allowedNetClasses
- Classes of NetNodes and NetEdges that are to be visualized in
this perspective.
_nodeTypeRegions
java.util.Hashtable<K,V> _nodeTypeRegions
- Rectangles of where to place nodes that are automatically added.
mutableGraphModel
MutableGraphModel mutableGraphModel
- The underlying connected graph to be visualized.
_originX
int _originX
- The origin of this coordinate system
_originY
int _originY
- The origin of this coordinate system
_spacing
int _spacing
- The spacing between the lines
_style
int _style
- The painting stlye that should be used. See predefined styles below.
NUM_STYLES
int NUM_STYLES
_lineColor
java.awt.Color _lineColor
- The color of the grid lines
_bgColor
java.awt.Color _bgColor
- The color of the space between the lines.
Needs-More-Work:
null should mean the space between the lines is transparent. But
that does not work with image stamps.
DIRECTION_UNDEFINED
int DIRECTION_UNDEFINED
DIRECTION_UPWARD
int DIRECTION_UPWARD
DIRECTION_DOWNWARD
int DIRECTION_DOWNWARD
DIRECTION_RIGHTWARD
int DIRECTION_RIGHTWARD
DIRECTION_LEFTWARD
int DIRECTION_LEFTWARD
DEFINE_DIRECTION_TOLERANCE
int DEFINE_DIRECTION_TOLERANCE
BROOM_WIDTH_NORMAL
int BROOM_WIDTH_NORMAL
BROOM_WIDTH_SMALL
int BROOM_WIDTH_SMALL
MAX_TOUCHED_FIGS
int MAX_TOUCHED_FIGS
DISTRIBUTE_EVEN_SPACE
int DISTRIBUTE_EVEN_SPACE
DISTRIBUTE_PACK
int DISTRIBUTE_PACK
DISTRIBUTE_SPREAD
int DISTRIBUTE_SPREAD
DISTRIBUTE_ORIG
int DISTRIBUTE_ORIG
HINT_FONT
java.awt.Font HINT_FONT
_start
java.awt.Point _start
_LastTouched
java.util.Vector<E> _LastTouched
x1
int x1
y1
int y1
x2
int x2
y2
int y2
_lastX1
int _lastX1
_lastY1
int _lastY1
_lastX2
int _lastX2
_lastY2
int _lastY2
_lastMX
int _lastMX
_lastMY
int _lastMY
_dir
int _dir
_magnetic
boolean _magnetic
_movable
boolean _movable
_draw
boolean _draw
_touched
Fig[] _touched
_origX
int[] _origX
_origY
int[] _origY
_offX
int[] _offX
_offY
int[] _offY
_nTouched
int _nTouched
_broomMargin
int _broomMargin
_distributeMode
int _distributeMode
_addRect
java.awt.Rectangle _addRect
_selectRect
java.awt.Rectangle _selectRect
_bigDamageRect
java.awt.Rectangle _bigDamageRect
_origBBox
java.awt.Rectangle _origBBox
_hint
java.lang.String _hint
_defaultWidth
int _defaultWidth
- The default size of a Fig if the user simply clicks instead of
dragging out a size.
_defaultHeight
int _defaultHeight
anchorX
int anchorX
- Original mouse down event coordinates
anchorY
int anchorY
- Original mouse down event coordinates
_newItem
Fig _newItem
- This holds the Fig to be added to the parent Editor.
snapPt
java.awt.Point snapPt
startPort
java.lang.Object startPort
- The NetPort where the arc is paintn from
_startPortFig
Fig _startPortFig
- The Fig that presents the starting NetPort
_sourceFigNode
FigNode _sourceFigNode
- The FigNode on the NetNode that owns the start port
_newEdge
java.lang.Object _newEdge
- The new NetEdge that is being created
_image
java.awt.Image _image
- The image to be placed.
_lastX
int _lastX
- The position of the last point that was added.
_lastY
int _lastY
- The position of the last point that was added.
_npoints
int _npoints
- The number of points added so far.
_lastX
int _lastX
_lastY
int _lastY
_startX
int _startX
_startY
int _startY
_handle
Handle _handle
startPort
java.lang.Object startPort
- The NetPort where the arc is paintn from
startPortFig
Fig startPortFig
- The Fig that presents the starting NetPort
sourceFigNode
FigNode sourceFigNode
- The FigNode on the NetNode that owns the start port
newEdge
java.lang.Object newEdge
- The new NetEdge that is being created
_npoints
int _npoints
- The number of points added so far.
_lastX
int _lastX
_lastY
int _lastY
_startX
int _startX
_startY
int _startY
_handle
Handle _handle
_viewportExtent
java.awt.Dimension _viewportExtent
autoscroll
boolean autoscroll
autoTimer
javax.swing.Timer autoTimer
recentX
int recentX
recentY
int recentY
_isScrolling
boolean _isScrolling
_viewport
javax.swing.JViewport _viewport
_oldCursor
java.awt.Cursor _oldCursor
_component
javax.swing.JComponent _component
componentSize
java.awt.Dimension componentSize
viewPosition
java.awt.Point viewPosition
deltaX
int deltaX
deltaY
int deltaY
lastX
int lastX
lastY
int lastY
simpleDrag
boolean simpleDrag
_args
java.util.Hashtable<K,V> _args
- Arguments to this mode. These are usually set just after the
mode is created via the init method and used later.
_modes
java.util.Vector<E> _modes
- The stack of Mode's that are all active simultainously, the
order of Mode's on the stack is their priority, i.e., the
topmost Mode gets the first chance to handle an incoming
Event. Needs-More-Work: this is a time critical part of the
system and should be faster, use an array instead of a Vector.
editor
Editor editor
- The Editor that owns this ModeManager.
_listeners
javax.swing.event.EventListenerList _listeners
degrees45
double degrees45
_dragInProcess
boolean _dragInProcess
- drag in process
newMousePosition
java.awt.Point newMousePosition
- The current position of the mouse during a drag operation.
dragStartMousePosition
java.awt.Point dragStartMousePosition
- The point at which the mouse started a drag operation.
dragStartSelectionPosition
java.awt.Point dragStartSelectionPosition
- The location of the selection when the drag was started.
_curHandle
Handle _curHandle
- The index of the handle that the user is dragging
_highlightTrap
java.awt.Rectangle _highlightTrap
_deltaMouseX
int _deltaMouseX
_deltaMouseY
int _deltaMouseY
_node
java.lang.Object _node
- The (new) node being placed. It might be an existing node that
is adding a new FigNode.
_pers
FigNode _pers
- The (new) FigNode being placed. It might be an existing
FigNode on an existing node being placed in another diagram.
_factory
GraphFactory _factory
_addRelatedEdges
boolean _addRelatedEdges
_instructions
java.lang.String _instructions
selectAnchor
java.awt.Point selectAnchor
- If the user drags a selection rectangle, this is the first corner.
selectRect
java.awt.Rectangle selectRect
- This is the seclection rectangle.
showSelectRect
boolean showSelectRect
- True when the selection rectangle should be painted.
toggleSelection
boolean toggleSelection
- True when the user holds the shift key to toggle selections.
_pathFigure
Fig _pathFigure
percent
int percent
offset
int offset
percent
int percent
_delta
int _delta
offset
int offset
_tryOffScreenCB
java.awt.Checkbox _tryOffScreenCB
- A check box for using flicker-free graphics
_printGridCB
java.awt.Checkbox _printGridCB
- A check box for using straight or rectilinear arcs
_printBackgroundCB
java.awt.Checkbox _printBackgroundCB
_moreRepaints
java.awt.Button _moreRepaints
- The "More Repaints" button.
_fewerRepaints
java.awt.Button _fewerRepaints
- The "Fewer Repaints" button.
_close
java.awt.Button _close
- The close button
_content
Fig _content
- _content refers to the Fig that is selected.
_selections
java.util.Vector<E> _selections
- The collection of Selection instances
_editor
Editor _editor
_listeners
javax.swing.event.EventListenerList _listeners
_dragTopMostFig
Fig _dragTopMostFig
_dragLeftMostFig
Fig _dragLeftMostFig
_draggingNodes
java.util.List<E> _draggingNodes
_draggingMovingEdges
java.util.List<E> _draggingMovingEdges
_draggingNonMovingEdges
java.util.List<E> _draggingNonMovingEdges
_draggingOthers
java.util.List<E> _draggingOthers
_selectedHandle
int _selectedHandle
cx
int cx
cy
int cy
cw
int cw
ch
int ch
|
Package org.tigris.gef.demo |
_bitsPerSecond
int _bitsPerSecond
- Speed of this data line
_cableType
java.lang.String _cableType
- Type of cable, choosen from the constants above: SCSI, FireWire,
etc.
_voltage
int _voltage
- Voltage currently on line.
_maxVoltage
int _maxVoltage
- Maximum Voltage that this line can handle.
_hasGroundProng
boolean _hasGroundProng
- Some power cords have a third grounding prong, some don't.
gm
GraphModel gm
- The net-level model to edit
palette
EquipmentPalette palette
- The palette of shapes and selection tool
obj1
Fig obj1
obj2
Fig obj2
obj3
Fig obj3
obj4
Fig obj4
obj5
Fig obj5
obj6
Fig obj6
obj7
FigText obj7
obj1
Fig obj1
obj2
Fig obj2
obj3
Fig obj3
obj4
Fig obj4
obj5
Fig obj5
obj6
Fig obj6
obj7
FigText obj7
gm
GraphModel gm
- The net-level model to edit
palette
SamplePalette palette
- The example palette, shows SampleNode
shapePalette
PaletteFig shapePalette
- The palette of shapes and selection tool
_megsOfRAM
int _megsOfRAM
_busSpeedMHz
int _busSpeedMHz
_cpuSpeedMHz
int _cpuSpeedMHz
_hasCDROM
boolean _hasCDROM
_ownerInfo
java.lang.String _ownerInfo
powerPort
PortPower powerPort
dataPort
PortData dataPort
_powerPort
PortPower _powerPort
_dataPort
PortData _dataPort
powerPort1
PortPower powerPort1
powerPort2
PortPower powerPort2
_type
int _type
north
SamplePort north
east
SamplePort east
west
SamplePort west
south
SamplePort south
_number
int _number
|
Package org.tigris.gef.event |
_selections
java.util.Vector<E> _selections
_modes
java.util.Vector<E> _modes
|
Package org.tigris.gef.graph |
_arg
java.lang.Object _arg
- The specific node, port, or arc that was modified.
cause
java.lang.Exception cause
_arg
java.lang.Object _arg
- The specific node, port, or arc that was modified.
_graphListeners
java.util.Vector<E> _graphListeners
connectionConstrainer
ConnectionConstrainer connectionConstrainer
|
Package org.tigris.gef.graph.presentation |
_nodes
java.util.Vector<E> _nodes
_edges
java.util.Vector<E> _edges
netList
NetList netList
serialVersionUID: -5459241816919316496L
editor
Editor editor
- The Editor object that is being shown in this panel
drawingPane
org.tigris.gef.graph.presentation.JGraphInternalPane drawingPane
scrollPane
javax.swing.JScrollPane scrollPane
defaultSize
java.awt.Dimension defaultSize
_viewPortPositions
java.util.Hashtable<K,V> _viewPortPositions
_currentDiagramId
java.lang.String _currentDiagramId
_toolbar
ToolBar _toolbar
- The toolbar (shown at top of window).
_graph
JGraph _graph
- The graph pane (shown in middle of window).
_statusbar
javax.swing.JLabel _statusbar
- A statusbar (shown at bottom ow window).
_mainPanel
javax.swing.JPanel _mainPanel
_graphPanel
javax.swing.JPanel _graphPanel
_menubar
javax.swing.JMenuBar _menubar
CLONE_CONTAINER
javax.swing.JPanel CLONE_CONTAINER
- The cloned graph sits inside a clone container.
This is initially an empty panel and of limitless size, allowing
JSplitPane to resize the panel to any position.
As soon as this panel is expanded a clone of the graph is generated
and placed inside. If this panel is collapsed then the graph is
removed and disposed of.
splitPane
javax.swing.JSplitPane splitPane
graph
JGraph graph
- The graph populated by the constructor
clonedGraph
JGraph clonedGraph
- A clone graph which is created or destroyed by reposition of
the splitter.
_sourcePort
NetPort _sourcePort
- The start and end ports of this edge.
_destPort
NetPort _destPort
_ports
java.util.Vector<E> _ports
- The ports that are part of this edge. Most of the time Edges do
not have any ports. However, in some connected graph notations,
users are allowed to attach notes to edges, or something that
requrires edges to go from an edge to a node, or an edge to an
edge.