Package com.iizigo.style
Class StylesButton
- java.lang.Object
- com.iizigo.style.StylesButton
 
- All Implemented Interfaces:
- IFlatToolbarButtonIntegration
 - public class StylesButton extends java.lang.Object implements 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- Constructors - Constructor - Description - StylesButton()The public constructor.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - void- initialize(FlatToolbarButton button)Initializes the button interface, e.g.- void- setEditedProperties(PropCnr[] props, IPropertyEditorController controller)Initializes the edited properties.
 
- Method Detail- setEditedProperties- public void setEditedProperties(PropCnr[] props, IPropertyEditorController controller) 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:
- setEditedPropertiesin interface- IFlatToolbarButtonIntegration
- Parameters:
- props- The edited properties, never null.
- controller- The controller.
 
 - initialize- public void initialize(FlatToolbarButton button) Initializes the button interface, e.g. creation of context menu.- Specified by:
- initializein interface- IFlatToolbarButtonIntegration
- Parameters:
- button- The button.