org.gcube.portlets.admin.rolesmanagementportlet.gwt.client
Class AvailableRolesGrid

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.gcube.portlets.admin.rolesmanagementportlet.gwt.client.AvailableRolesGrid
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

public class AvailableRolesGrid
extends com.google.gwt.user.client.ui.Composite

This class creates a grid that contains the system's available roles

Author:
Panagiota Koltsida, NKUA

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
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
AvailableRolesGrid()
           
 
Method Summary
protected static void addRecordToGrid(String name, String desc)
          Adds a new record to the grid with the given name and description
protected static com.gwtext.client.data.RecordDef getRecordDef()
          Returns the grid's record definition
protected static void updateSelectedRecordOfGrid(String name, String desc)
          Updates the current selected record of the grid with the given name and description
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AvailableRolesGrid

public AvailableRolesGrid()
Method Detail

addRecordToGrid

protected static void addRecordToGrid(String name,
                                      String desc)
Adds a new record to the grid with the given name and description

Parameters:
name - The role's name
desc - The role's description

updateSelectedRecordOfGrid

protected static void updateSelectedRecordOfGrid(String name,
                                                 String desc)
Updates the current selected record of the grid with the given name and description

Parameters:
name - The role's name to be set
desc - The role's description to be set

getRecordDef

protected static com.gwtext.client.data.RecordDef getRecordDef()
Returns the grid's record definition

Returns:


Copyright © 2013. All Rights Reserved.