| org.netbeans.modules.visualweb.web.ui.dt.component.EditableValueHolderDesignInfo org.netbeans.modules.visualweb.web.ui.dt.component.SelectorDesignInfo
All known Subclasses: org.netbeans.modules.visualweb.web.ui.dt.component.CheckboxGroupDesignInfo, org.netbeans.modules.visualweb.web.ui.dt.component.AddRemoveDesignInfo, org.netbeans.modules.visualweb.web.ui.dt.component.ListboxDesignInfo, org.netbeans.modules.visualweb.web.ui.dt.component.RadioButtonGroupDesignInfo, org.netbeans.modules.visualweb.web.ui.dt.component.DropDownDesignInfo,
SelectorDesignInfo | public class SelectorDesignInfo extends EditableValueHolderDesignInfo (Code) | | DesignInfo class for components that extend the
org.netbeans.modules.visualweb.web.ui.dt.component.Selector component. The following behaviors are
implemented:
- When a new selector-based component is created, a default list of
options is created, and bound to the component's
items
property.
author: gjmurphy |
SelectorDesignInfo | public SelectorDesignInfo(Class clazz)(Code) | | |
beanCreatedSetup | public Result beanCreatedSetup(DesignBean bean)(Code) | | When a new Selector-based component is dropped, create a default
list of options and bind if to this component's items and
selected properties.
Parameters: bean - DesignBean for the newly created instance |
beanDeletedCleanup | public Result beanDeletedCleanup(DesignBean bean)(Code) | | When a Selector-based component is deleted, check for the existence of a
default list of options, and delete it if present.
|
getOptionsListBean | protected static DesignBean getOptionsListBean(DesignBean selectorBean)(Code) | | If the selector component for the bean specified is bound to an options
list, returns the design bean for the options list. Otherwise returns
null.
|
getOptionsListClass | protected Class getOptionsListClass()(Code) | | Returns a class to instantiate for the default options bean. Must be
OptionsList or a subclass thereof.
|
getOptionsListName | protected static String getOptionsListName(DesignBean selectorBean)(Code) | | Returns the name of the default options bean.
|
propertyChanged | public void propertyChanged(DesignProperty property, Object oldValue)(Code) | | When the items property is changed, if previous value was a
binding to the default OptionsList for this component, then
delete the options list if present.
|
|
|