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 SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- void- initialize- (FlatToolbarButton button) Initializes the button interface, e.g.- void- setEditedProperties- (PropCnr[] props, IPropertyEditorController controller) Initializes the edited properties.
- Constructor Details- StylesButtonpublic StylesButton()The public constructor.
 
- Method Details- setEditedPropertiesInitializes 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:
- setEditedPropertiesin interface- IFlatToolbarButtonIntegration
- Parameters:
- props- The edited properties, never null.
- controller- The controller.
 
- initializeInitializes the button interface, e.g. creation of context menu.- Specified by:
- initializein interface- IFlatToolbarButtonIntegration
- Parameters:
- button- The button.