Package fr.soleil.comete.widget

Examples of fr.soleil.comete.widget.IComponent


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

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


    return "";
  }


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

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

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

  public boolean isMonochrome() {
    return ((ImageViewer) getWidget()).isMonochrome();
  }

  public void addImageViewerListener(final IImageViewerListener listener) {
    final IComponent component = getComponent();
    if (component != null && component instanceof IImageViewer) {
      ((IImageViewer) component).addImageViewerListener(listener);
    }
  }
View Full Code Here

      ((IImageViewer) component).addImageViewerListener(listener);
    }
  }

  public void removeImageViewerListener(final IImageViewerListener listener) {
    final IComponent component = getComponent();
    if (component != null && component instanceof IImageViewer) {
      ((IImageViewer) component).removeImageViewerListener(listener);
    }
  }
View Full Code Here

      ((IImageViewer) component).removeImageViewerListener(listener);
    }
  }

  public boolean isShowRoiInformationTable() {
    final IComponent component = getComponent();
    if (component != null && component instanceof IImageViewer) {
      return ((IImageViewer) component).getShowRoiInformationTable();
    }
    return false;
  }
View Full Code Here

    }
    return false;
  }

  public void setShowRoiInformationTable(final boolean showTable) {
    final IComponent component = getComponent();
    if (component != null && component instanceof IImageViewer) {
      ((IImageViewer) component).setShowRoiInformationTable(showTable);
    }
  }
View Full Code Here

      ((IImageViewer) component).setShowRoiInformationTable(showTable);
    }
  }

  private void addRoi(final IRoi roi) {
    final IComponent component = getComponent();
    if (component != null && component instanceof IImageViewer) {
      ((IImageViewer) component).addRoi(roi);
    }
  }
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

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.