Represents a category in a Palette control.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
SyntaxJava
Copy Code
|
|---|
public class PaletteCategory |
RemarksThe PaletteCategory class represents a single logical group or folder within a Palette control. It holds a collection of DiagramItem objects (accessible via getItems) that belong to that specific category.
In the user interface, each category is rendered as a collapsible pane within the palette's accordion. The class provides properties such as Title, Icon, and Expanded state to control the appearance and behavior of its corresponding pane header.
PaletteCategory acts as a standard Java Bean; it utilizes PropertyChangeSupport to notify the parent Palette of any modifications. This ensures that changing a category's title, icon, or expanded state programmatically will automatically update the UI.
Inheritance Hierarchyjava.lang.Object![]()
com.mindfusion.diagramming.PaletteCategory
See Also