ASP.NET Pack Programmer's Guide
com.mindfusion.diagramming Namespace
Classes Interfaces Enumerations
 

 Classes

  Class Description

AbstractLayout

The base class for all layout classes.

Action

Provides constants that identify the current operation carried out interactively on an item. Usually you would pass one of these constants to the constructor of an InteractionState instance when implementing custom BehaviorBase classes.

AddGroupCmd

Implements creation of new groups.

AddItemCmd

Implements creation of new diagram items.

AddToContainerCmd

Undoable command that implements an addition of a node to a container.

AdjustmentHandles

The members of this enumeration specify which selection handles of a node should be enabled or disabled. A bitwise combination of these constants can be used as parameter of the setEnabledHandles method of the DiagramNode class.

AeroEffect

Represents an effect that adds semitransparency to the node and emphasizes its outline by adding a shade and an inner stroke. This effect can be applied to the nodes in a Diagram by adding an instance of this class to the Diagram.getNodeEffects collection.

Align

The members of this enumeration specify how text should be aligned to the text layout rectangle. Use these constants as arguments for the TextFormat constructor, or assign them to LinkLabel objects.

Anchoring

The members of this enumeration specify whether the automatic layout algorithms and the link routing algorithm should align link ends to the anchor points of nodes. Use these constants as parameters of the setAnchoring method of the RoutingOptions class and the layout classes.

AnchorPattern

Represents a set of AnchorPoint objects, which can be assigned to a node through the setAnchorPattern method.

AnchorPoint

Represent a point where a link can connect to a node. A set of anchor points is represented by the AnchorPattern class. Such a set can be assigned to a node by calling the setAnchorPattern method.

AnchorPointEvent

Contains the arguments passed to anchor point -related events.

AnchorPointList

A strongly typed list of AnchorPoint objects.

AnnealLayout

Implements a simulated annealing graph layout algorithm.

AppletEx

Implements common functionality of JDiagram applet classes.

ArcTemplate

Represents an arc segment in a Shape definition.

ArrowHeads

Contains predefined arrowhead shapes.

AttachToLink

The members of this enumeration specify how a node is attached to a link. These constants can be used as parameters of the attachTo method of the DiagramNode class.

AttachToNode

The members of this enumeration specify how a node is attached to another node. These constants can be used as parameters of the attachTo method of the DiagramNode class.

AutoResize

The members of this enumeration specify whether the size of the document area should be automatically enlarged if needed, and to what direction it should be enlarged. These constants can be used as parameters of the Diagram.setAutoResize method of the Diagram class.

BaseList(E)

Implements common functionality of JDiagram List classes.

Behavior

The members of this class specify how the component should respond to users actions. These constants can be used as arguments of the setBehavior method of the DiagramView class.

BehaviorBase

An abstract base class for types that define how the control reacts to users' actions with a mouse or other pointing devices.

BezierTemplate

Represents a Bezier curve in a Shape definition.

Brush

A Brush specifies how the interior of a diagram element is filled. The SolidBrush and GradientBrush classes inherit this abstract class. A brush is assigned to an item by calling the setBrush method.

ByteArrayTransferable

Implements clipboard support for diagram items.

CascadeLayout

Performs cascading layout on simple, connected graphs.

Cell

Represents a cell in a table. Cells are arranged in a grid of rows and columns, and can span more than one rows or columns if needed. Each cell can display an image and a text label.

CellEvent

Contains information passed to the cellClicked event defined in DiagramListener.

CellFrameStyle

The members of this enumeration specify the style of the frame lines of tables' cells. These constants can be used as parameters of the TableNode.setCellFrameStyle method of the TableNode class.

CellList

A strongly typed list of Cell objects.

CellValidationEvent

Contains the arguments passed to event handlers, such as CellTextEditing.

ChangeItemCmd

Handles undo / redo of property changes.

CircularLayout

Implements a circular graph layout algorithm. Nodes are distributed evenly on the circumference of a circle at positions that result in as few link crossing as possible.

ClassDescriptor

Implements XML serialization support for diagram items.

Column

Represents a column of cells in a table.

ColumnList

A strongly typed list of Column objects.

ColumnStyle

The members of this enumeration specify whether a table's column is automatically resized when the table is resized. These constants can be used as parameters of the Column.setColumnStyle method of the Column class.

Command

Represents an action that can be undone or redone.

CommandContext

Represents the context in which a command is executed.

CommandHistory

Represent the command undo/redo history.

CommandList

A strongly typed list of Command objects.

CompositeCmd

Represents a composite command object that contains other commands.

CompositeNode

The CompositeNode class represents nodes that are defined via hierarchies of child components, arranged within layout panels.

CompositeNodeStyle

 

ConnectionPoint

This class represents a connection between an edge and a node in a graph. It decouples the DiagramLink class from the DiagramNode class, allowing edges to connect different types of nodes without knowing anything of their implementation details. Each DiagramLink object contains two ConnectionPoint instances describing the connections at both ends of the link.

ContainerChildEvent

Contains arguments passed to ContainerChildEvent Handler.

ContainerNode

Implements nodes that can contain other nodes.

ContainerNodeProperties

Stores the values of ContainerNode properties during undo / redo operations. If you need to implement undo support for the additional properties defined by a class derived from ContainerNode, do so by deriving from ContainerNodeProperties and overriding the saveProperties, restoreProperties, and createProperties methods.

ContainerNodeStyle

Represents a reusable set of properties that define the appearance of container nodes.

ControlNode

ControlNode is an adapter class that enables using any java.awt.Component -derived object as a diagram node.

ControlNodeEvent

Contains the arguments passes to handlers of the control host serialization events.

ControlNodeProperties

Stores the values of ControlNode properties during undo / redo operations. If you need to implement undo support for the additional properties defined by a class derived from ControlNode, do so by deriving from ControlNodeProperties and overriding the saveProperties, restoreProperties, and createProperties methods of ControlNode.

Converter

Provides capabilities to convert various types to and from strings in a culture-independent way.

CustomDraw

The members of this enumeration specify what type of custom-drawing will be performed on an item. These constants can be used as parameters of the ShapeNode.setCustomDraw method of the ShapeNode class.

DashStyle

Represents the dash style of a Pen.

DecisionLayout

Implements a flowchart layout algorithm.

DelKeyAction

The members of this enumeration specify the type of action performed when the user presses the DEL key.

Diagram

The Diagram class represents a flow diagram.

DiagramAdapter

Provides empty implementations for the methods defined in the DiagramListener interface. This lets you override only the handlers for the events you are interested in, instead of implementing all methods of DiagramListener.

DiagramApplet

The DiagramApplet class implements a Java applet that hosts a Diagram instance inside a scroll pane.

DiagramBase

The base class of the Diagram and DiagramDocument classes.

DiagramDocument

Represents a collection of diagram pages.

DiagramEvent

Contains information passed to the events defined in DiagramListener.

DiagramItem

The DiagramItem class represents an element in a diagram. It defines the basic drawing, interaction, undo/redo and serialization functionality for all the types of elements that can be contained in JDiagram documents.

DiagramItemList

A strongly typed list of DiagramItem objects.

DiagramItemProperties

The base class for types that store the values of diagram item properties during undo / redo operations.

DiagramItemState

Contains a snapshot of the internal state of a diagram item. Instances of this class are used to store the state of items for later undo or redo operations.

DiagramItemStyle

Represents a reusable set of properties that define the appearance of diagram items.

DiagramLink

Links between nodes in JDiagram diagrams are represented by instances of the DiagramLink class.

DiagramLinkList

A strongly typed list of DiagramLink objects.

DiagramLinkProperties

Stores the values of DiagramLink properties during undo / redo operations. If you need to implement undo support for the additional properties defined by a class derived from DiagramLink, do so by deriving from DiagramLinkProperties and overriding the DiagramLink.saveProperties, DiagramLink.restoreProperties, and DiagramLink.createProperties methods.

DiagramLinkState

Contains a snapshot of the internal state of a DiagramLink. Instances of this class are used to store the state of links for later undo or redo operations. If you derive from DiagramLink and need to implement undo support for the additional internal state defined by your class, do so by deriving from DiagramLinkState and overriding the createState, saveState and restoreState methods.

DiagramLinkStyle

Represents a reusable set of properties that define the appearance of diagram links.

DiagramNode

DiagramNode is an abstract base class from which the ShapeNode, TableNode and ContainerNode classes derive. DiagramNode instances can represent graph vertices, nodes in organizational or flow diagrams, entities in ER diagrams, and so on.

DiagramNodeList

A strongly typed list of DiagramNode objects.

DiagramNodeProperties

Stores the values of DiagramNode properties during undo / redo operations. If you need to implement undo support for the additional properties defined by a class derived from DiagramNode, do so by deriving from DiagramNodeProperties and overriding the DiagramNode.saveProperties, DiagramNode.restoreProperties, and DiagramNode.createProperties methods.

DiagramNodeState

Contains a snapshot of the internal state of a DiagramNode. Instances of this class are used to store the state of nodes for later undo or redo operations. If you derive from DiagramNode and need to implement undo support for the additional internal state defined by your class, do so by deriving from DiagramNodeState and overriding the DiagramNode.createState, DiagramNode.saveState and DiagramNode.restoreState methods.

DiagramNodeStyle

Represents a reusable set of properties that define the appearance of diagram nodes.

DiagramPage

Represents a single page in a DiagramDocument object.

DiagramPageEvent

Contains the arguments passed to DiagramPage-related events.

DiagramPageValidationEvent

Contains the arguments passed to handlers of DiagramPage validation events. @author Meppy

DiagramStyle

Represents a reusable set of properties that define the appearance of diagrams.

DiagramTransferHandler

Provides support for drag and drop to JDiagram.

DiagramView

DiagramView is a Swing component that displays the content of a Diagram object.

DirectionConstraint

The members of these enumeration specify in what direction to constrain the movement of a node. These constants can be used as parameters of the NodeConstraints.setMoveDirection method of the NodeConstraints class.

DocumentView

Represents an extended DiagramView for DiagramDocument objects.

Double

 

DraggedNode

Class used to hold the DiagramNode instance during drag and drop. It is used for easier detection of the dragged content as DragEventArgs.Data.GetData() does not check super classes.

DraggedNodeTransferable

 

DraggedShape

Class that holds shape id and size during drag and drop operation.

DrawAnchorPointEvent

Contains the arguments passed to the DrawAnchorPoint event handlers.

DrawCellEvent

Contains the arguments passed to the DrawCell event handlers.

DrawContainersBehavior

Implements the Behavior.DrawContainers behavior.

DrawControlsBehavior

Implements the Behavior.DrawControls behavior.

DrawItemEvent

Contains information passed to the custom-draw events defined in DiagramListener.

DrawLinkEvent

Contains the arguments passed to the drawLink event handlers.

DrawLinksBehavior

Implements the Behavior.DrawLinks behavior.

DrawNodeEvent

Contains the arguments passed to the drawNode event handlers.

DrawNodesBehavior

The base class for behavior types that allow drawing of nodes, but not links.

DrawParams

 

DrawShapesBehavior

Implements the Behavior.DrawShapes behavior.

DrawTablesBehavior

Implements the Behavior.DrawTables behavior.

DrawTreeViewsBehavior

Implements the Behavior.DrawTreeViews behavior.

DummyNode

Represents the origin and/or destination of an unconnected DiagramLink.

EditCellTextEvent

Contains the arguments passed to the cellTextEdited event handlers.

EditLinkTextEvent

Contains the arguments passed to DiagramListener.linkTextEdited handlers.

EditNodeTextEvent

Contains the arguments passed to the nodeTextEdited event handlers.

EditTextCmd

Changes the text of a DiagramItem.

EditTreeItemTextEvent

Contains the arguments passed to DiagramListener.treeItemTextEdited handlers.

EffectPhase

Specifies the rendering phase during which an effect application is requested.

ElementTemplate

This is the base class for the elements that can be used in Shape definitions. You will use its descendants - LineTemplate, ArcTemplate and BezierTemplate - when defining custom shapes.

ExpandButtonAction

Specifies what action is triggered by the +/- buttons that are displayed near expandable nodes.

ExpandButtonPosition

Defines values that specify possible locations for expand/collapse buttons.

ExpandHeaderRowCmd

Implements undo and redo of collapsing or expanding the header row of a table section.

ExpandItemCmd

Implements expanding/collapsing branched of items in a tree.

ExpandTreeViewItemCmd

Implements support for undo of TreeViewItem collapse/expand operations.

ExternalizableImage

Implement support for serialization of shared images.

Factory

Provides shortcut methods for creating and adding instances of the standard item types. Call the class methods through the Diagram.getFactory property of the Diagram class.

FlowchartLayout

FlowchartLayout can be used to arrange flowcharts representing program source code.

FoldContainerCmd

Undoable command that implements folding and unfolding of container nodes.

Folder

Implements the fold/unfold button shown in ContainerNode caption.

FractalLayout

A tree layout algorithm that places child nodes symmetrically around their parent node.

GlassEffect

Represents a glass-like visual effect. This effect can be applied to the nodes in a Diagram by adding an instance of this class to the Diagram.getNodeEffects collection.

GlassEffectType

Specifies the type of a GlassEffect node effect.

GlassPane

For internal use.

GradientBrush

Represents a gradient brush which paints the interior of objects starting with one color and gradually changing to another color by interpolating the RGB values of the two colors.

Granularity

Specifies the granularity of the obstacles map generated by QuickRouter.

GraphicsUnit

Specifies the unit of measure for graphic objects drawn by JDiagram.

GridLayout

Implements a grid graph layout algorithm. GridLayout arranges diagram nodes in a grid, keeping connected nodes close together. The algorithm strives to achieve a small number of link crossings. It is based on an iterative process whose initial steps shuffle the grid nodes randomly. That can lead to very different results each time the algorithm is run.

GridRouter

Implements a link routing algorithm that uses a grid to represent the free and occupied regions in the diagram.

GridStyle

The members of this enumeration specify how the alignment grid should be drawn on the screen. These constants can be used as arguments of the Diagram.setGridStyle method of the Diagram class.

Group

Represents an hierarchical group of items. One of the items is considered the master item, the rest are subordinated items that follow the master one when it is modified.

GroupAttachCmd

Represents an action that attaches an item to a group.

GroupDetachCmd

Represents an action that detaches an item from a group.

GroupEvent

Contains the arguments passed to handlers of group-related events, such as groupDestroyed.

GroupList

A strongly typed list of Group objects.

GroupRotation

Defines values that indicate how rotation of a group's master node affects the nodes attached to that group.

HandlesStyle

The members of this enumeration specify the appearance and functionality of the manipulation handles displayed around a selected node. These constants can be used as parameters of the setHandlesStyle method of the ShapeNode and TableNode classes.

HandlesVisualStyle

Defines the Pen and Brush objects used to draw items' adjustment handles.

HatchBrush

Represents a brush that fills the interiors of objects with a hatch pattern.

HatchStyle

Represents hatch patterns corresponding to GDI+ HatchBrush objects.

HierarchicalLayout

Performs hierarchical layout on simple, connected, level-planar graphs.

HitTestEvent

Contains the arguments passed to custom hit-testing event handlers.

HitTestPriority

The members of this enumeration specify the order of item hit testing. They can be used as arguments to the Diagram.setHitTestPriority method.

HtmlBuilder

Provides helper methods for building HTML image maps.

HyperLinkStyle

Specifies how various export components should treat the HyperLink property of items.

ImageAlign

The members of this enumeration specify the position and size of the image displayed inside a node. These constants can be used as parameters of the ShapeNode.setImageAlign method of the ShapeNode and TableNode classes.

ImageLoadedEvent

Contains information passed to the events defined in DiagramListener.

InPlaceEditEvent

The event is raised when leaving in-place editing mode.

Interaction

Tracks pointer messages to implement user interaction with the diagram.

InteractionState

Encapsulates the current state of user interaction with the control.

ItemEvent

Contains information passed to the events defined in DiagramListener.

LaneGrid

Represents an SwimlaneGrid which operates on a com.mindfusion.diagramming.lanes.Grid object.

LaneGridInteraction

Resizes rows and columns of the LaneGrid.

Layer

The Layer class represents a layer in the diagram. The visibility, z order and lock status of items in a layer can be controlled via properties of the respective Layer object.

LayeredLayout

Implements a layered graph layout algorithm.

LayeredLayoutLinkType

Specifies the style of the links after they are laid out.

LayeredLayoutStatistics

Encapsulates information about a layered layout which has already complete.

LayerListView

Provides user interface for changing layer attributes.

LayerListViewAdapter

 

LayerListViewItem

Represents an item within a LayerListView control.

LegacySupport

Implements deserialization of objects saved with JDiagram 1.x versions.

LegacySupportStream

Implements deserialization of objects saved with JDiagram 1.x versions.

LineTemplate

Represents a straight line segment in a Shape definition.

LinkContainersBehavior

Implements the Behavior.LinkContainers behavior.

LinkControlsBehavior

Implements the Behavior.LinkControls behavior.

LinkCrossings

The members of this enumeration specify how the points where links cross should be drawn on the screen. Use this constants as parameters of the setLinkCrossings method.

LinkEvent

Contains the arguments passed to handlers of link related events.

LinkLabel

Represents a label displayed by a DiagramLink. New labels can be added to a link by calling the DiagramLink.addLabel method.

LinkNodesBehavior

The base class for behavior types that allow drawing both nodes and links.

LinkShape

The members of this enumeration specify what type of segments an arrow should consist of and how the segments are related one to another. These constants can be used as parameters of the DiagramLink.setShape method of the DiagramLink class.

LinkShapeEvent

Contains the arguments passed to the SetSelfLoopShape event handler.

LinkShapesBehavior

Implements the Behavior.LinkShapes behavior.

LinkTablesBehavior

Implements the Behavior.LinkTables behavior.

LinkTextStyle

The members of this enumeration specify where the label of a link is placed and how it is oriented relatively to the link segments. These constants can be used as parameters of the setTextStyle method of the DiagramLink class.

LinkTreeViewsBehavior

Implements the Behavior.LinkTreeViews behavior.

LinkValidationEvent

Contains the arguments passed to handlers of link validation events.

Manipulator

The base class for interactive widgets displayed in diagram items.

MarkStyle

The members of this enumeration specify what marks should be drawn where the anchor points of a node are located. These constants can be used as parameters of the constructors and the AnchorPoint.setMarkStyle method of the AnchorPoint class.

MeasureUnit

Specifies units of measure.

ModificationStart

The members of this enumeration specify how users can start modifying an item. These constants can be used as parameters of the setModificationStart method of the DiagramView class.

ModifyBehavior

Implements the Behavior.Modify behavior.

ModifyItemCmd

Represents an action that changes the size or position of a diagram item.

MouseInputMode

The members of this enumeration specify specify how to process mouse actions done over a ControlNode.

MultipleGraphsPlacement

Specifies graph orientation and positioning.

NodeConstraints

Represents the movement and size constraints that can be applied to a node.

NodeEffect

Represents the base class of all visual effects that can be applied to the nodes in a Diagram. Effects can be applied by adding instances of the concrete effect classes to the Diagram.getNodeEffects collection of the Diagram.

NodeEvent

Contains the arguments passed to handlers of node-related events, such as treeCollapsed and treeExpanded.

NodeListEvent

 

NodeListView

Represents a list control containing DiagramNode objects. Nodes from the list can be dragged to a Diagram canvas to create new nodes.

NodeListViewAdapter

 

NodeTransferHandler

 

NodeValidationEvent

Contains the arguments passed to handlers of node validation events.

OneWayLayout

Implements a one-way graph layout algorithm. The one-way layout ensures that links enter into nodes from the same general direction and exit them from the opposite side. If the graph contains cycles, some links bend around the nodes to keep the enter/exit direction consistent. The algorithm aims to minimize the number of such links.

Orientation

The members of this enumeration specify what orientation a graphic element should have - vertical, horizontal, or one determined automatically. These constants can be used as parameters of the setStartOrientation and setEndOrientation methods of RoutingOptions and the setCascadeOrientation method of the DiagramLink class.

OrthogonalLayout

Implements an orthogonal graph layout algorithm. Each link is drawn as a chain of alternating horizontal and vertical segments. Nodes are placed in a way that facilitates few links bends and crossings.

OrthogonalRouter

Implements an orthogonal link routing algorithm.

Overview

The Overview control provides a scaled-down view of Diagram contents and allows scrolling and zooming the diagram with the mouse.

OverviewApplet

The OverviewApplet class implements a Java applet that hosts an Overview instance inside its frame.

PanBehavior

Implements the Behavior.Pan behavior.

Path

Represents a series of connected nodes and links.

PathFinder

Provides methods that help you find paths and cycles in a graph.

PathList

A strongly typed list of Path objects.

Pen

Pen objects are used to draw the borders and decoration lines of shape nodes, the frame lines of tables and cells and the segments of links. A pen is assigned to an item by calling the setPen method.

PointList

A strongly typed list of Point2D.Float objects.

PrintOptions

Defines the attributes of a printed diagram. Use the PrintOptions object returned by the DiagramView.getPrintOptions method to set the attributes of a specific diagram.

PrintPreview

Implements a print preview window.

QuickRouter

Implements a very fast link routing algorithm that uses a tree to represent the free and occupied regions in the diagram.

RadialGradientBrush

Represents a radial gradient brush.

RedimTableCmd

Represents an action that changes the number of columns or rows in a table.

Relationship

The members of this enumeration specify how table rows should be related. These constants can be used as parameters of the TableNode.addRelation method of the TableNode class.

RelativeToLink

Specifies how the link labels are positioned.

RemoveFromContainerCmd

Undoable command that implements removal of nodes from a container.

RemoveGroupCmd

Represents an action that destroys a group.

RemoveItemCmd

Represents an action that removes an item from the diagram.

RenderOptions

Defines the attributes of a printed diagram. Use the PrintOptions object returned by the DiagramView.getPrintOptions method to set the attributes of a specific diagram.

RenderTarget

 

RepaintEvent

Specifies the coordinates of the area that should be repainted by views when the Repaint event is raised.

RerouteLinks

The members of this enumeration specify in what circumstances JDiagram should automatically re-route links. A bitwise combination of these constants can be used as a parameter of the setTriggerRerouting method of the RoutingOptions class.

ResizeTableColumnCmd

Implements resizing of table's columns. Instances of this class are implicitly created by MindFusion.Diagramming in response to resizing table's columns interactively. References to those instances are passed to handlers of the actionRecorded, actionUndone and actionRedone events.

ResizeTableRowCmd

Implements resizing of table's rows. Instances of this class are implicitly created by MindFusion.Diagramming in response to resizing table's rows interactively. References to those instances are passed to handlers of the actionRecorded, actionUndone and actionRedone events.

RestrictToBounds

The members of this enumeration specify whether JDiagram lets users drag items outside of the currently define document bounds. These constants can be used as parameters of the Diagram.setRestrictItemsToBounds method of the Diagram class.

RoundRectangleTemplate

Represents a straight line segment in a Shape definition.

RoutingOptions

An instance of this class accessible by the getRoutingOptions method lets you customize the behavior of the link routing algorithm.

Row

Represents a row of cells in a table. Rows are the entity to which links related to a table are connected.

RowEvent

Contains the arguments passed to handlers of table row-related events.

RowList

A strongly typed list of Row objects.

Ruler

The Ruler control provides horizontal and vertical scales that help users measure diagram items.

SaveToStringFormat

 

ScaleAlign

Generalized alignment enum.

ScriptHelper

Provides helper methods to help accessing the JDiagram API from JavaScript. An instance of this class is returned by the getScriptHelper method.

ScrollBar

 

ScrollTableCmd

Represents an action that scrolls table rows up or down.

ScrollTreeViewCmd

 

Selection

Represents a selection of multiple items. Each Diagram has its own Selection instance, which can be accessed by the getSelection method.

SelectionCopy

Used internally in the implementation of copy/paste functions.

SelectionEvent

Contains information passed to the selection events defined in DiagramListener.

SelectionStyle

The members of this enumeration specify what a multiple selection of items should look like. These constants can be used as parameters of the Selection.setStyle method of the Selection class.

SelectionValidationEvent

Contains information passed to the selection validation events defined in DiagramListener.

SelectOnlyBehavior

Implements the Behavior.SelectOnly behavior.

Serialization

 

SerializeTagEvent

Contains information passed to the tag serialization related events in DiagramListener.

ShadowsStyle

The members of this enumeration specify how JDiagram should draw the shadows of items. These constants can be used as parameters of the Diagram.setShadowsStyle method of the Diagram class.

Shape

A Shape object describes a shape consisting of a series of straight lines, arcs and Bezier curves. The main component of a shape definition is its outline, which describes the shape region that will be filled in color, and used for hit-testing and aligning links to the shape. A shape can also contain decorations - lines, arcs or Bezier curves that are drawn with the shape but do not influence the fill or hit testing.

A shape is used by applying it to a ShapeNode instance by calling the setShape method.

ShapeData

 

ShapeDecoration

That class contained an array of shape template elements that define shape decorations. Can contain lines, arcs and Bezier curves. The shape is closed and filled.

ShapeEvent

 

ShapeLibrary

The ShapeLibrary class represents a collection of shape definitions stored together.

ShapeList

A strongly-typed list of Shape objects.

ShapeListBox

The ShapeListBox control displays a set of shapes defined in the Shape class.

ShapeListBoxApplet

An Applet that contains a ShapeListBox. This is an example html snippet for embedding the applet in a browser, showing the names and format of supported parameters.

HTML  Copy Code

<applet id="ShapeListBoxId" name="ShapeListBoxId" code="com/mindfusion/jdiagram/ShapeListBoxApplet.class" archive="JDiagram.jar" width="300px" height="300px" mayscript="">
  <param name="AllowRename" value="false">
  <param name="AllowRemove" value="false">
  <param name="DefaultShapeSize" value="20 20">
  <param name="IconMargin" value="5 5">
  <param name="IconSize" value="32 32">
  <param name="ShapeFillColor" value="#ff00ffff">
  <param name="ShapeLibraryLocation" value="shapelibrary.shl">
</applet>

These parameters map directly to the corresponding ShapeListBox attributes.

ShapeNode

ShapeNode objects represent nodes in graphs, tree, process diagrams, and so on.

ShapeNodeList

A strongly-typed list of ShapeNode objects.

ShapeNodeProperties

Stores the values of ShapeNode properties during undo / redo operations. If you need to implement undo support for the additional properties defined by a class derived from ShapeNode, do so by deriving from ShapeNodeProperties and overriding the ShapeNode.saveProperties, ShapeNode.restoreProperties, and ShapeNode.createProperties methods.

ShapeNodeStyle

Represents a reusable set of properties that define the appearance of shape nodes.

ShowAnchors

The members of this enumeration specify whether JDiagram should display marks at the anchor points positions. A bitwise combination of these constants can be set as parameter of the Diagram.setShowAnchors method of the Diagram class.

SimpleShape

The members of this enumeration specify the shape of a node's outline. These constants can be used as parameters of the setShape method of the TableNode, TreeViewNode and ContainerNode classes.

SnapToAnchor

The members of this enumeration specify when a link should be aligned to a node's anchor point. These constants can be used as parameters of the setSnapToAnchor method of the Diagram class.

SolidBrush

Represents a brush that paints the interior of objects with a single color.

SortOrder

 

SpringLayout

Implements the Spring-Embedder graph layout algorithm.

Style

Represents an unordered dynamic collection of properties that can be identified by name.

SwimlaneLayout

Implements an algorithm which arranges nodes in lanes.

TabbedScrollPane

Represents a DiagramView that can display DiagramDocument objects. The individual diagram pages can be activated through the tabs in the tray located at one of the view sides.

TabbedScrollPaneAdapter

 

TableConnectionStyle

The members of this enumeration specify whether links drawn by users are connected to tables rows, to tables as integral nodes, or both. These constants can be used as parameters of the setConnectionStyle method of the TableNode class.

TableNode

Tables are diagram nodes that can contain multiple cells and can be related to other nodes through their rows.

TableNodeProperties

Stores the values of TableNode attributes during undo / redo operations. If you need to implement undo support for the additional properties defined by a class derived from TableNode, do so by deriving from TableNodeProperties and overriding the saveProperties, restoreProperties, and createProperties methods.

TableNodeStyle

Represents a reusable set of properties that define the appearance of table nodes.

TableSectionExpander

 

TextFormat

Specifies the format and alignment of text within a diagram item. A TextFormat object can be assigned to nodes by their setTextFormat method. Tables provide a setCaptionFormat method and their cells provide a setTextFormat method to let you set the format and alignment of text within a table.

TextRenderer

 

TextureBrush

Represents a brush that fills the interiors of objects with a texture pattern.

Theme

Represents a set of Style objects for different diagram item types.

Thickness

Describes the thickness of a rectangular frame.

TickPosition

Specifies the position of trackbar ticks.

TopologicalLayout

Implements a topological ordering.

TreeItemList

 

TreeLayout

Implements several algorithms for arranging tree structures.

TreeLayoutBalance

Specifies how to order child nodes in order to produce tree layouts with custom balance.

TreeLayoutLinkType

The members of this enumeration specify what style to assign to the links processed by TreeLayout. These constants can be used as parameters of the setLinkStyle method of the TreeLayout class.

TreeLayoutType

The members of this enumeration specify the shape of a tree arranged by the TreeLayout class. These constants can be used as parameters of the setType method of the TreeLayout class.

TreeMapLayout

Implements a tree map layout algorithm.

TreeViewConnectionPoint

 

TreeViewConnectionStyle

 

TreeViewItem

Represents a constituent item of the hierarchy displayed inside a TreeViewNode.

TreeViewNode

Represents nodes that can draw hierarchical data.

TreeViewNodeStyle

Represents a reusable set of properties that define the appearance of tree view nodes.

TriangularLayout

Performs triangular layout on simple, connected graphs.

UndoEvent

Contains the arguments passed to the ActionRecorded, ActionUndone and ActionRedone event handlers.

UndoManager

Implements undo/redo functionality. The undo manager can be accessed by calling the getUndoManager method of the Diagram class.

UndoValidationEvent

Contains the arguments passed to the ActionRecording event handlers.

Utilities

 

ValidationEvent

Contains information passed to the validation events defined in DiagramListener.

VerticalFlowLayout

A version of FlowLayout which arranges its components vertically.

XDimension2D

 

XmlException

 

XmlPersistContext

Contains methods that can help you serialize and deserialize diagram items to and from XML documents.

XmlReaderException

An exception thrown by XmlReader if it cannot parse an input file.

ZoomControl

ZoomControl lets users zoom and pan a target DiagramView interactively.

 Interfaces

  Interface Description

DiagramListener

Defines events raised by JDiagram in response to users actions.

IItemFactory

Defines an interface for constructing objects from their XML elements.

InplaceEditable

Represents an in-place editable object.

LayerListViewListener

 

Layout

 

LayoutLink

Defines a callback method called for links during layout.

LayoutNode

Defines a callback method called for nodes during layout.

LayoutProgress

Defines a callback method that notifies about layout progress.

LinkRouter

Defines methods that should be implemented by a link-router component. The control calls them when a new link path should be set in response to changes in the diagram, such as adding or modifying nodes.

NamedEnum

Implements XML serialization of enumeration members.

NodeListViewListener

 

NotifyPropertyChanged

 

ShapeListBoxListener

Defines signatures for shape select, rename and delete events in ShapeListBox.

SwimlaneGrid

Represents an object which can be used by a SwimlaneLayout to adjust the corresponding swimlane grid.

TabbedScrollPaneListener

 

ThemeListener

 

XmlElementNameAnnotation

Specifies a string to be used as a XML element name of a type during XML serialization.

XmlReaderListener

Defines events that let you load custom tag data from XML files.

 Enumerations

  Enumeration Description

CursorHint

Specifies what mouse cursor to display while a user interacts with the diagram.

FillMode

Typed enumeration corresponding to .NET enum FillMode

FitSize

Specifies how the ShapeNode.resizeToFitText method should resize a box.

SmoothingMode

Specifies whether smoothing (antialiasing) is applied

UnitType

Defines values that indicate whether point positions are specified as percentage, or in absolute units relative to the node's top-left corner.