/*
 * Copyright 2006 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.sduk.client;

import com.google.gwt.user.client.ui.HTML;

/**
 * Introduction page.
 */
public class Info extends Sink {

  public static SinkInfo init() {
    return new SinkInfo("Home", "Home Page") {
      public Sink createInstance() {
        return new Info();
      }
    };
  }

  public Info() {
    initWidget(new HTML(
      "<div class='infoProse'>This website is written using the Google Web Toolkit."
        + "<p>Various artist are featured, in groups of \"Photography\", "
        + "\"Sculpture\" and \"Art\". "
        + "Each of the pages is designed with a GWT \"Images\" page and  "
        + "a sub-widget component of \"Imagage\". We are still working on "
        + "implementing a \"TabPanel\" component, but have so far been unable to "
        + "associate an event listener for any tabbed page other the last.</p> </div>",
      true));
  }

  public void onShow() {
  }
}

