Package fr.soleil.comete.widget

Examples of fr.soleil.comete.widget.IComponent


    }
    return IFileBrowser.FULLNAME;
  }

  public void addFileBrowserListener(IFileBrowserListener listener) {
    IComponent component = getComponent();
    if (component != null && component instanceof IFileBrowser) {
      ((IFileBrowser) component).addFileBrowserListener(listener);
    }
  }
View Full Code Here


      ((IFileBrowser) component).addFileBrowserListener(listener);
    }
  }

  public void removeFileBrowserListener(IFileBrowserListener listener) {
    IComponent component = getComponent();
    if (component != null && component instanceof IFileBrowser) {
      ((IFileBrowser) component).removeFileBrowserListener(listener);
    }
  }
View Full Code Here

  public AbstractWidget<?, StringMatrix> initWidget() {
    return new StringTable();
  }

  public void addStringTableListener(IStringTableListener listener) {
    IComponent component = getComponent();
    if (component != null && component instanceof IStringTable) {
      ((IStringTable) component).addTableListener(listener);
    }
  }
View Full Code Here

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

  public void removeStringTableListener(IStringTableListener listener) {
    IComponent component = getComponent();
    if (component != null && component instanceof IStringTable) {
      ((IStringTable) component).addTableListener(listener);
    }
  }
View Full Code Here

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

  public void setMode(int mode) {
    IComponent component = getComponent();
    if (component != null && component instanceof IStringPeriodicTable) {
      ((IStringPeriodicTable) component).setMode(mode);
    }
  }
View Full Code Here

      ((IStringPeriodicTable) component).setMode(mode);
    }
  }

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

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

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

    }
    return null;
  }

  public void setOptionList(String[] optionList) {
    IComponent component = getComponent();
    if (component != null && component instanceof IComboBox) {
      ((IComboBox) component).setOptionList(optionList);
    }
  }
View Full Code Here

      ((IComboBox) component).setOptionList(optionList);
    }
  }

  public String[] getOptionList() {
    IComponent component = getComponent();
    if (component != null && component instanceof IComboBox) {
      return ((IComboBox) component).getOptionList();
    }
    return null;
  }
View Full Code Here

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

  public void setEditable(boolean editable) {
    IComponent component = getComponent();
    if (component != null && component instanceof IWheelSwitch) {
      ((IWheelSwitch) component).setEditable(editable);
    }
  }
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.