Package org.cast.isi.component

Examples of org.cast.isi.component.DoneImage


   * @param id wicket id
   * @param completed true if the section has been completed, false otherwise.
   * @return the appropriate image component for the 'completed' parameter
   */
  public Component getCompletedImage(String id, boolean isComplete) {
    Component image = new DoneImage(id);
    image.setVisible(isComplete);
    return image;
  }
View Full Code Here


    super.onBeforeRender();
  }

  protected Icon getImage() {
    if (isComplete())
      return new DoneImage("doneImg");
    else return new NotDoneImage("doneImg");
  }
View Full Code Here

TOP

Related Classes of org.cast.isi.component.DoneImage

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.