| org.netbeans.modules.vmd.midp.propertyeditors.api.usercode.PropertyEditorElement
All known Subclasses: org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorImage, org.netbeans.modules.vmd.midp.propertyeditors.date.PropertyEditorDate, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorListSelectCommand, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorPreferredSize, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorLayout, org.netbeans.modules.vmd.midp.propertyeditors.api.resource.PropertyEditorResource, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorString, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorColorChooser, org.netbeans.modules.vmd.midpnb.propertyeditors.PropertyEditorSVGImage, org.netbeans.modules.vmd.midpnb.propertyeditors.PropertyEditorPhoneNumber, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorNumber, org.netbeans.modules.vmd.midpnb.propertyeditors.PropertyEditorSVGMenuSelectCommand, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorBooleanUC, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorConstraints, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorTimeout, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorDefaultCommand, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorAlertIndicator, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorGaugeMaxValue, org.netbeans.modules.vmd.midp.propertyeditors.PropertyEditorComboBox,
PropertyEditorElement | public interface PropertyEditorElement (Code) | | This class represents an UI and logical element of PropertyEditorUserCode.
author: Anton Chechel |
getCustomEditorComponent | JComponent getCustomEditorComponent()(Code) | | Returns custom editor component for element
JComponent custom editor |
getRadioButton | JRadioButton getRadioButton()(Code) | | Returns radio button component for element
JRadioButton |
getTextForPropertyValue | String getTextForPropertyValue()(Code) | | Returns text from element what represents property value's state
String text |
isInitiallySelected | boolean isInitiallySelected()(Code) | | Returns boolean value whether this element should be active by default
and radio button selected
booleans is initially selected |
isVerticallyResizable | boolean isVerticallyResizable()(Code) | | Returns boolean value whether this element could be vertically resized.
For example for simple elements like JComboBox or JTextField it should return
false, but for complex panel which encapsulates a lot of components or for
big components like JEditorPane it should return true.
booleans is element vertically resizable |
setTextForPropertyValue | void setTextForPropertyValue(String text)(Code) | | Sets text from which element can set property value. Another way is to use
DesignPropertyEditor.customEditorOKButtonPressed()
Parameters: PropertyValue - value which represents current state of model |
updateState | void updateState(PropertyValue value)(Code) | | Updates state of the element by given property value
Parameters: PropertyValue - value which represents current state of model |
|
|