Package com.iizigo.vs
Class GroupPanel
java.lang.Object
com.iizigo.vs.GroupPanel
- All Implemented Interfaces:
- IContextMenuContributor,- IContextMenuContributorFormControl<Viewer>,- IVirtualSpacePanel,- IVSComponentListener,- IVSComponentState,- IVSGenericComponentListener
public class GroupPanel extends Object implements IVirtualSpacePanel, IContextMenuContributor, IVSGenericComponentListener
Panel used for the Group in the VirtualSpace.
- Author:
- Christopher Mindus
- Nested Class Summary- Nested classes/interfaces inherited from interface com.iizix.prop.vs.IVSComponentState- IVSComponentState.State
- Method SummaryModifier and TypeMethodDescription- void- appendMenuItems- (Viewer viewer, IzMenu menu, DesignerProp target) Called to append menu items.- boolean- doAddExpandCollapseAll- (Viewer viewer, IzMenu menu, DesignerProp target) Checks if expand/collapse all menu items should be added.Called to get the edited property.- void- onBroken- (VSComponentReference reference, VSComponent component) Called when the property reference has been broken, i.e.- void- onEditedProperty- (GProp<?> _group) Selection changed for panel.- void- onParentStateChanged- (IVSComponent parent, IVSComponentState.State state, boolean on) Called when the parent changes state.- void- onResolved- (VSComponentReference reference, VSComponent component) Called when the property reference has been resolved.- void- onStateChanged- (VSComponent component, IVSComponentState.State state, boolean on) Called when the VS component changes state.- void- prependMenuItems- (Viewer viewer, IzMenu menu, DesignerProp target) Called to prepend menu items.- voidSaves the settings.
- Method Details- saveSettingspublic void saveSettings()Saves the settings.- Specified by:
- saveSettingsin interface- IVirtualSpacePanel
 
- getTargetCalled to get the edited property.- Specified by:
- getTargetin interface- IContextMenuContributor
- Specified by:
- getTargetin interface- IContextMenuContributorFormControl<Viewer>
- Returns:
- The target, or null to use the default edited property.
 
- onEditedPropertySelection changed for panel.- Specified by:
- onEditedPropertyin interface- IVirtualSpacePanel
 
- onResolvedDescription copied from interface:- IVSGenericComponentListenerCalled when the property reference has been resolved. UI components use this method to set its state according to the VS component.- Specified by:
- onResolvedin interface- IVSGenericComponentListener
- Parameters:
- reference- The VSComponentReference instance holding the component reference.
- component- The VS component reference that is now resolved.
 
- onBrokenDescription copied from interface:- IVSGenericComponentListenerCalled when the property reference has been broken, i.e. unresolved.- Specified by:
- onBrokenin interface- IVSGenericComponentListener
- Parameters:
- reference- The VSComponentReference instance holding the component reference.
- component- The VS component reference that is now unresolved.
 
- onStateChangedDescription copied from interface:- IVSGenericComponentListenerCalled when the VS component changes state.- Specified by:
- onStateChangedin interface- IVSGenericComponentListener
- Parameters:
- component- The VS component.
- state- The state change.
- on- New state.
 
- onParentStateChangedDescription copied from interface:- IVSComponentListenerCalled when the parent changes state.- Specified by:
- onParentStateChangedin interface- IVSComponentListener
- Parameters:
- parent- The parent who's state was changed.
- state- The state change, possible values PARENT_ENABLED, PARENT_READONLY, PARENT_VISIBLE.
- on- New state.
 
- prependMenuItemsDescription copied from interface:- IContextMenuContributorCalled to prepend menu items.- Specified by:
- prependMenuItemsin interface- IContextMenuContributor
- Specified by:
- prependMenuItemsin interface- IContextMenuContributorFormControl<Viewer>
- Parameters:
- viewer- The viewer.
- menu- The pop-up menu.
- target- The selected target in the viewer, null for none.
 
- appendMenuItemsDescription copied from interface:- IContextMenuContributorCalled to append menu items.- Specified by:
- appendMenuItemsin interface- IContextMenuContributor
- Specified by:
- appendMenuItemsin interface- IContextMenuContributorFormControl<Viewer>
- Parameters:
- viewer- The viewer.
- menu- The pop-up menu.
- target- The selected target in the viewer, null for none.
 
- doAddExpandCollapseAllDescription copied from interface:- IContextMenuContributorChecks if expand/collapse all menu items should be added.- Specified by:
- doAddExpandCollapseAllin interface- IContextMenuContributor