Пример #1
0
  @Override
  public void updateComponentValue(ClassName value, Component component) {
    ClassNameBox classNameBox = (ClassNameBox) component;

    classNameBox.setClassName(value);
  }
Пример #2
0
 @Override
 public void addValidator(Component component, ComponentValidator validator) {
   ClassNameBox classNameBox = (ClassNameBox) component;
   classNameBox.addValidator(validator);
 }
Пример #3
0
 @Override
 public ClassName getValueFromComponent(Component component) {
   ClassNameBox classNameBox = (ClassNameBox) component;
   return classNameBox.getClassName();
 }
Пример #4
0
 @Override
 public void addChangeListener(Component component, ComponentChangeListener listener) {
   ClassNameBox classNameBox = (ClassNameBox) component;
   classNameBox.addChangeListener(listener);
 }