| org.netbeans.modules.vmd.api.properties.DesignPropertyEditor org.netbeans.modules.vmd.midp.propertyeditors.api.usercode.PropertyEditorUserCode
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.PropertyEditorInputMode, 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.timezone.PropertyEditorTimeZone, 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,
PropertyEditorUserCode | abstract public class PropertyEditorUserCode extends DesignPropertyEditor implements PropertyEditorMessageAwareness(Code) | | This class allows create PropertyEditor which supports User Code.
See for example PropertyEditorString.
WARNING - while overriding init method, you have to call super.init() method too.
author: Anton Chechel |
USER_CODE_TEXT | final public static String USER_CODE_TEXT(Code) | | |
PropertyEditorUserCode | protected PropertyEditorUserCode(String userCodeLabel)(Code) | | |
canWrite | public boolean canWrite()(Code) | | |
clearErrorStatus | public void clearErrorStatus()(Code) | | Clears error/warning message on the custom property editor panel
|
customEditorOKButtonPressed | public void customEditorOKButtonPressed()(Code) | | WARNING! If override invoke super.customEditorOKButtonPressed()
|
displayError | public void displayError(String message)(Code) | | Displays error message on the custom property editor panel
Parameters: message - to be displayed |
displayWarning | public void displayWarning(String message)(Code) | | Displays warning message on the custom property editor panel
Parameters: message - to be displayed |
getAsText | public String getAsText()(Code) | | Returns text for inplace property editor.
WARNING this method shoud be overriden and if it returns null then overriden getAsText() should return own text
|
getCustomEditor | final public Component getCustomEditor()(Code) | | Updates state of custom editor and returns it to edit property value.
|
init | public void init(DesignComponent component)(Code) | | WARNING - while override, you have to call super.init() method too.
|
isCurrentValueANull | protected boolean isCurrentValueANull()(Code) | | boolean whether current property value has kind of NULL |
isCurrentValueAUserCodeType | protected boolean isCurrentValueAUserCodeType()(Code) | | boolean whether current property value has kind of user code |
isExecuteInsideWriteTransactionUsed | public boolean isExecuteInsideWriteTransactionUsed()(Code) | | |
setAsText | public void setAsText(String text)(Code) | | Sets property value depending on given text. Invoked from inplace editor.
|
|
|