Betty v1.1.0

christophedelory.betty.admin.gwt
Class ResourcesPanel

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.Panel
              extended by com.google.gwt.user.client.ui.ComplexPanel
                  extended by com.google.gwt.user.client.ui.CellPanel
                      extended by com.google.gwt.user.client.ui.VerticalPanel
                          extended by christophedelory.betty.admin.gwt.AbstractBettyPanel
                              extended by christophedelory.betty.admin.gwt.AbstractDefaultPanel
                                  extended by christophedelory.betty.admin.gwt.ResourcesPanel
All Implemented Interfaces:
com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasAlignment, com.google.gwt.user.client.ui.HasHorizontalAlignment, com.google.gwt.user.client.ui.HasVerticalAlignment, com.google.gwt.user.client.ui.HasWidgets, com.google.gwt.user.client.ui.IndexedPanel, Iterable<com.google.gwt.user.client.ui.Widget>

public class ResourcesPanel
extends AbstractDefaultPanel

The resources panel.

Since:
1.0.0
Version:
$Revision: 60 $
Author:
Christophe Delory

Nested Class Summary
 
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
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
com.google.gwt.user.client.ui.HasHorizontalAlignment.HorizontalAlignmentConstant
 
Nested classes/interfaces inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
com.google.gwt.user.client.ui.HasVerticalAlignment.VerticalAlignmentConstant
 
Field Summary
 
Fields inherited from class christophedelory.betty.admin.gwt.AbstractBettyPanel
_application, _treeItem
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Fields inherited from interface com.google.gwt.user.client.ui.HasHorizontalAlignment
ALIGN_CENTER, ALIGN_DEFAULT, ALIGN_LEFT, ALIGN_RIGHT
 
Fields inherited from interface com.google.gwt.user.client.ui.HasVerticalAlignment
ALIGN_BOTTOM, ALIGN_MIDDLE, ALIGN_TOP
 
Constructor Summary
ResourcesPanel(com.google.gwt.user.client.ui.TreeItem treeItem, Betty application)
          Creates an empty resources panel.
 
Method Summary
protected  void addDetails(String id)
          Builds the new content panel describing the element identified by the specified string.
protected  String getDescription()
          Returns the text describing the item displayed.
 
Methods inherited from class christophedelory.betty.admin.gwt.AbstractDefaultPanel
build
 
Methods inherited from class com.google.gwt.user.client.ui.VerticalPanel
add, getHorizontalAlignment, getVerticalAlignment, insert, onEnsureDebugId, remove, setHorizontalAlignment, setVerticalAlignment
 
Methods inherited from class com.google.gwt.user.client.ui.CellPanel
getBody, getSpacing, getTable, setBorderWidth, setCellHeight, setCellHorizontalAlignment, setCellHorizontalAlignment, setCellVerticalAlignment, setCellVerticalAlignment, setCellWidth, setSpacing
 
Methods inherited from class com.google.gwt.user.client.ui.ComplexPanel
add, adjustIndex, checkIndexBoundsForAccess, checkIndexBoundsForInsertion, getChildren, getWidget, getWidgetCount, getWidgetIndex, insert, insert, iterator, remove
 
Methods inherited from class com.google.gwt.user.client.ui.Panel
adopt, adopt, clear, disown, doAttachChildren, doDetachChildren, onLoad, onUnload, orphan
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
getParent, isAttached, onAttach, onBrowserEvent, onDetach, removeFromParent
 
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, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkEvents, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourcesPanel

public ResourcesPanel(com.google.gwt.user.client.ui.TreeItem treeItem,
                      Betty application)
Creates an empty resources panel.

Parameters:
treeItem - the associated tree item. Shall not be null.
application - the parent application. Shall not be null.
Throws:
NullPointerException - if treeItem is null.
NullPointerException - if application is null.
See Also:
AbstractDefaultPanel.AbstractDefaultPanel(TreeItem,Betty)
Method Detail

getDescription

protected String getDescription()
Description copied from class: AbstractDefaultPanel
Returns the text describing the item displayed. Example: "championship".

Specified by:
getDescription in class AbstractDefaultPanel
Returns:
a description text. Shall not be null.

addDetails

protected void addDetails(String id)
Description copied from class: AbstractDefaultPanel
Builds the new content panel describing the element identified by the specified string.

Specified by:
addDetails in class AbstractDefaultPanel
Parameters:
id - the new element identifier. Shall not be null.

© 2008-2009 Christophe Delory

Copyright © 2008-2009 Christophe Delory. All Rights Reserved.