| org.netbeans.modules.visualweb.propertyeditors.PropertyEditorBase org.netbeans.modules.visualweb.propertyeditors.DomainPropertyEditor org.netbeans.modules.visualweb.propertyeditors.SelectOneDomainEditor
SelectOneDomainEditor | public class SelectOneDomainEditor extends DomainPropertyEditor (Code) | | A property editor for domains, that allows exactly one element from a domain to
be selected as the property value. Element labels are treated as the "text"
view of an element, and the currently selected element's value property is
treated as the editor's current value. This editor typically manifests itself as
an in-line drop-down selector of element labels. If a domain is large, a
custom property editor will also be available, which facilitates searching
through long lists (see
SelectOneDomainPanel ).
author: gjmurphy |
Constructor Summary | |
public | SelectOneDomainEditor() Creates a new instance of DomainPropertyEditor, that will pick up its
domain later, from the property descriptor. | public | SelectOneDomainEditor(Domain domain) Creates a new instance of DomainPropertyEditor, with the domain
specified. |
FETCH_TIME_LIMIT | final static long FETCH_TIME_LIMIT(Code) | | |
MAX_DOMAIN_SIZE | final static int MAX_DOMAIN_SIZE(Code) | | |
SelectOneDomainEditor | public SelectOneDomainEditor()(Code) | | Creates a new instance of DomainPropertyEditor, that will pick up its
domain later, from the property descriptor.
|
SelectOneDomainEditor | public SelectOneDomainEditor(Domain domain)(Code) | | Creates a new instance of DomainPropertyEditor, with the domain
specified.
|
getCustomEditor | public Component getCustomEditor()(Code) | | If domain is editable, returns an instance of SelectOneEditableDomainPanel;
otherwise, if the property is bindable, or if it is too large for
convenient display in an in-line drop down, returns an instance of
SelectOneDomainPanel.
|
getElement | public Element getElement()(Code) | | Get the currently selected element.
|
getJavaInitializationString | public String getJavaInitializationString()(Code) | | |
isPaintable | public boolean isPaintable()(Code) | | |
setElement | public void setElement(Element element)(Code) | | Set the currently selected element. This is the element that supplies
the values returned by getValue() and
getAsText() .
|
supportsCustomEditor | public boolean supportsCustomEditor()(Code) | | |
|
|