The ShapeListBox control displays a set of shapes defined in the Shape class.
The following tables list the members exposed by the ShapeListBox type.
Name | Description | |
---|---|---|
![]() |
Initializes a new instance of the ShapeListBox class. |
Name | Description | |
---|---|---|
![]() |
Adds a single Shape to the list box. |
|
![]() |
Adds a listener for select, rename and delete events. |
|
![]() |
Overloaded. |
|
![]() |
Removes all shapes from the ShapeListBox, leaving it empty. |
|
![]() |
Gets a value indicating whether deletion of listbox items by pressing DEL is allowed. Only the list box items are deleted, but not the Shape definitions themselves. |
|
![]() |
Gets a value indicating whether inline renaming of listbox items is allowed. Currently the list box displays shape identifiers as names. |
|
![]() |
Gets the size of the shape that is created when dragging items from the list box to the diagram. |
|
![]() |
Gets the horizontal and vertical margins of the shape icons in the ListBox. |
|
![]() |
Gets the size of the shape icons displayed in the ListBox. |
|
![]() |
Returns the Shape at the specified index. |
|
![]() |
Returns the number of shapes after filtering. |
|
![]() |
Gets the fill color of the shapes in the list box. |
|
![]() |
Gets the identifiers of the shapes that should be displayed in the list box. |
|
![]() |
Retrieves all shapes visible in the list box after filtering. |
|
![]() |
Gets a value indicating whether to show text labels along with icons for each list item. |
|
![]() |
Invalidates the specified shape, causing its icon to be recreated and redrawn. Call this method when a shape definition changes. |
|
![]() |
Removes a shape from the list box. |
|
![]() |
Removes previously added listener for select, rename and delete events. |
|
![]() |
Resumes repainting the control after a suspendRepaint call. |
|
![]() |
Sets a value specifying whether removing of listbox items is allowed. |
|
![]() |
Sets a value specifying whether inline renaming of listbox items is allowed. Items can be renamed by pressing F2. Currently the list box displays shape identifiers as names. |
|
![]() |
Sets the size of the shape that is created when dragging items from the list box to the flowchart. |
|
![]() |
Sets the horizontal and vertical margins of the shape icons in the ListBox. |
|
![]() |
Sets the size of the shape icons displayed in the ListBox. |
|
![]() |
Sets the shape at the specified position. |
|
![]() |
Sets the fill color of the shapes in the list box. |
|
![]() |
Sets the identifiers of the shapes that should be displayed in the list box. |
|
![]() |
Replaces all current shapes with the specified ones. |
|
![]() |
|
|
![]() |
Initiates inline editing of shape id. |
|
![]() |
Stops repainting the control. This is useful when using the JDiagram API from JavaScript, where the control would be repainted after each script line executes. |
Name | Description | |
---|---|---|
![]() |
|
|
![]() |
|
|
![]() |
|
|
![]() |
|
|
![]() |
|