Package com.iizigo.style
Class StylesButton
java.lang.Object
com.iizigo.style.StylesButton
- All Implemented Interfaces:
IFlatToolbarButtonIntegration
Integrated the styles with the toolbar button in the properties editor. This class is typically used in for panel styles and not the stand-alone ones.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(FlatToolbarButton button) Initializes the button interface, e.g.void
setEditedProperties
(PropCnr[] props, IPropertyEditorController controller) Initializes the edited properties.
Constructor Details
StylesButton
public StylesButton()The public constructor.
Method Details
setEditedProperties
Initializes the edited properties. This method is called just after construction, and once only to setup edited properties. Then the "initialize" method is called.- Specified by:
setEditedProperties
in interfaceIFlatToolbarButtonIntegration
- Parameters:
props
- The edited properties, never null.controller
- The controller.
initialize
Initializes the button interface, e.g. creation of context menu.- Specified by:
initialize
in interfaceIFlatToolbarButtonIntegration
- Parameters:
button
- The button.