Package fr.soleil.comete.widget

Examples of fr.soleil.comete.widget.IComponent


      ((INumberTable) component).addTableListener(listener);
    }
  }

  public void getValueAtIndex(int index) {
    IComponent component = getComponent();
    if (component != null && component instanceof INumberTable) {
      ((INumberTable) component).getValueAtIndex(index);
    }
  }
View Full Code Here


      ((INumberTable) component).getValueAtIndex(index);
    }
  }

  public void getValueAtPoint(Point point) {
    IComponent component = getComponent();
    if (component != null && component instanceof INumberTable) {
      ((INumberTable) component).getValueAtPoint(point);
    }
  }
View Full Code Here

  public AbstractWidget<?, Number> initWidget() {
    return new NumberPeriodicTable();
  }

  public void addPeriodicTableListener(INumberPeriodicTableListener listener) {
    IComponent component = getComponent();
    if (component != null && component instanceof INumberPeriodicTable) {
      ((INumberPeriodicTable) component).addPeriodicTableListener(listener);
    }
  }
View Full Code Here

      ((INumberPeriodicTable) component).addPeriodicTableListener(listener);
    }
  }

  public void removePeriodicTableListener(INumberPeriodicTableListener listener) {
    IComponent component = getComponent();
    if (component != null && component instanceof INumberPeriodicTable) {
      ((INumberPeriodicTable) component).removePeriodicTableListener(listener);
    }
  }
View Full Code Here

  public AbstractWidget<?, String> initWidget() {
    return new TextArea();
  }

  public void setEditable(boolean editable) {
    IComponent component = getComponent();
    if (component != null && component instanceof ITextArea) {
      ((ITextArea) component).setEditable(editable);
    }
  }
View Full Code Here

      ((ITextArea) component).setEditable(editable);
    }
  }

  public boolean isEditable() {
    IComponent component = getComponent();
    if (component != null && component instanceof ITextArea) {
      return ((ITextArea) component).isEditable();
    }
    return false;
  }
View Full Code Here

    setStateEnabled(true);
    m_helper.setEntityName("State");
  }

  public void setButtonLook(boolean buttonLook){
    IComponent component = getComponent();
    if (component != null && component instanceof IButton) {
      ((IButton) component).setButtonLook(false);
    }
  }
View Full Code Here

      ((IButton) component).setButtonLook(false);
    }
  }

  public boolean isButtonLook() {
    IComponent component = getComponent();
    if (component != null && component instanceof IButton) {
      return ((IButton) component).isButtonLook();
    }
    return false;
  }
View Full Code Here

  public AbstractWidget<?, Number> initWidget() {
    return new NumberField();
  }

  public void setEditable(boolean editable) {
    IComponent component = getComponent();
    if (component != null && component instanceof ITextField) {
      ((ITextField) component).setEditable(editable);
    }
  }
View Full Code Here

      ((ITextField) component).setEditable(editable);
    }
  }

  public boolean isEditable() {
    IComponent component = getComponent();
    if (component != null && component instanceof ITextField) {
      return ((ITextField) component).isEditable();
    }
    return false;
  }
View Full Code Here

TOP

Related Classes of fr.soleil.comete.widget.IComponent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.