org.sonar.gwt.ui
Class ViewerHeader

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.sonar.gwt.ui.ViewerHeader
All Implemented Interfaces:
com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener

public abstract class ViewerHeader
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
protected static class ViewerHeader.MeasureLabel
           
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
ViewerHeader(Resource resource, String[] metrics)
           
 
Method Summary
protected  void addBigCell(com.google.gwt.user.client.ui.Panel panel, String html)
           
protected  void addCell(com.google.gwt.user.client.ui.Panel panel, Measure... measures)
           
protected  void addCell(com.google.gwt.user.client.ui.Panel panel, String metric, String value)
           
protected abstract  void display(com.google.gwt.user.client.ui.FlowPanel header, Resource resource)
           
 String[] getMetrics()
           
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewerHeader

public ViewerHeader(Resource resource,
                    String[] metrics)
Method Detail

getMetrics

public String[] getMetrics()

display

protected abstract void display(com.google.gwt.user.client.ui.FlowPanel header,
                                Resource resource)

addCell

protected void addCell(com.google.gwt.user.client.ui.Panel panel,
                       Measure... measures)

addCell

protected void addCell(com.google.gwt.user.client.ui.Panel panel,
                       String metric,
                       String value)

addBigCell

protected void addBigCell(com.google.gwt.user.client.ui.Panel panel,
                          String html)


Copyright © 2009-2011 SonarSource. All Rights Reserved.