| javax.swing.JPanel org.netbeans.modules.visualweb.propertyeditors.PropertyPanelBase
All known Subclasses: org.netbeans.modules.visualweb.propertyeditors.StringPropertyPanel, org.netbeans.modules.visualweb.propertyeditors.UrlPropertyPanel, org.netbeans.modules.visualweb.propertyeditors.StyleClassPropertyPanel, org.netbeans.modules.visualweb.propertyeditors.TabularPropertyPanel, org.netbeans.modules.visualweb.propertyeditors.SelectOneDomainPanel, org.netbeans.modules.visualweb.propertyeditors.JavaScriptPropertyPanel, org.netbeans.modules.visualweb.propertyeditors.MethodBindingPropertyPanel,
PropertyPanelBase | abstract public class PropertyPanelBase extends JPanel (Code) | | A abstract base class for custom property editors. Editor panels that extend
this class are intended for use either as custom editors returned by
java.beans.PropertyEditor.getCustomEditor , or as panels used within a
design-time customizer. The initial state of the property and its context
is made available to the editor in the design property passed to its
constructor. When the user has clicked "ok" in the containing panel, the
editor method getPropertyValue() is called and should return
the current value.
author: gjmurphy |
panelSubmissionListener | PanelSubmissionListener panelSubmissionListener(Code) | | |
createPropertyPanel | public static PropertyPanelBase createPropertyPanel(DesignProperty designProperty)(Code) | | A utility factory method for creating a property panel, such as for use in a
component customizer. If this method is unable to create a property panel
for the given design property, it returns null. This may happen if the
property is value bound, if the property does not specify a property editor
class, or if the component returned by PropertyEditor.getCustomEditor() is
not an instance of this base class.
|
getPropertyValue | abstract public Object getPropertyValue()(Code) | | This method is called just after the user has clicked "ok". Sub-classes
should use this method to calculate and return the property value.
|
|
|