コード例 #1
0
 private void saveValue(String text) {
   if (text.length() > 0) {
     if (noneItem.equals(text)) {
       super.setValue(NULL_VALUE);
     } else {
       super.setValue(PropertyValue.createComponentReference(getCommandEvenSource(text)));
     }
   }
 }
コード例 #2
0
 @Override
 public void customEditorOKButtonPressed() {
   super.customEditorOKButtonPressed();
   if (radioButton.isSelected()) {
     saveValue(customEditor.getText());
   }
 }
コード例 #3
0
 public void clean(DesignComponent component) {
   super.cleanUp(component);
   tags = null;
   values = null;
   if (customEditor != null) {
     customEditor.clean();
     customEditor = null;
   }
   radioButton = null;
   typeID = null;
 }