com.arsdigita.toolbox.ui
Class SelectionPanel

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.toolbox.ui.ComponentMap
              extended bycom.arsdigita.toolbox.ui.LayoutPanel
                  extended bycom.arsdigita.toolbox.ui.SelectionPanel
All Implemented Interfaces:
Cloneable, Component, Lockable, Resettable

public class SelectionPanel
extends LayoutPanel
implements Resettable


Nested Class Summary
 class SelectionPanel.SelectionListener
           
 
Field Summary
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
protected SelectionPanel()
           
  SelectionPanel(Component title, Component selector)
           
  SelectionPanel(Component title, Component selector, SingleSelectionModel model)
           
  SelectionPanel(Component title, ListModelBuilder builder)
           
  SelectionPanel(Component title, TreeModelBuilder builder)
           
  SelectionPanel(GlobalizedMessage title, Component selector)
           
  SelectionPanel(GlobalizedMessage title, Component selector, SingleSelectionModel model)
           
  SelectionPanel(GlobalizedMessage title, ListModelBuilder builder)
           
  SelectionPanel(GlobalizedMessage title, TreeModelBuilder builder)
           
 
Method Summary
 void addAction(Component action)
           
 void addAction(Component action, String clacc)
           
protected  void build(Component title, Component selector, SingleSelectionModel model)
           
 Form getAddForm()
           
 ActionLink getAddLink()
           
 ModalPanel getBody()
           
 Form getDeleteForm()
           
 ActionLink getDeleteLink()
           
 Form getEditForm()
           
 ActionLink getEditLink()
           
 Component getIntroPane()
           
 Component getItemPane()
           
 SingleSelectionModel getSelectionModel()
           
 Component getSelector()
           
 void reset(PageState state)
          Resets the state of the component to its original appearance.
 void setAdd(ActionLink addLink, Form form)
           
 void setAdd(GlobalizedMessage message, Form form)
           
 void setDelete(ActionLink deleteLink, Form form)
           
 void setDelete(GlobalizedMessage message, Form form)
           
 void setEdit(ActionLink editLink, Form form)
           
 void setEdit(GlobalizedMessage message, Form form)
           
 void setIntroPane(Component pane)
           
 void setItemPane(Component pane)
           
 void setSelectionModel(SingleSelectionModel model)
           
protected  void setSelector(Component selector)
           
 
Methods inherited from class com.arsdigita.toolbox.ui.LayoutPanel
generateXML, setBody, setBottom, setLeft, setRight, setTop
 
Methods inherited from class com.arsdigita.toolbox.ui.ComponentMap
children, containsKey, containsValue, get, put
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

SelectionPanel

protected SelectionPanel()

SelectionPanel

public SelectionPanel(Component title,
                      Component selector)

SelectionPanel

public SelectionPanel(Component title,
                      Component selector,
                      SingleSelectionModel model)

SelectionPanel

public SelectionPanel(GlobalizedMessage title,
                      Component selector)

SelectionPanel

public SelectionPanel(GlobalizedMessage title,
                      Component selector,
                      SingleSelectionModel model)

SelectionPanel

public SelectionPanel(Component title,
                      TreeModelBuilder builder)

SelectionPanel

public SelectionPanel(GlobalizedMessage title,
                      TreeModelBuilder builder)

SelectionPanel

public SelectionPanel(Component title,
                      ListModelBuilder builder)

SelectionPanel

public SelectionPanel(GlobalizedMessage title,
                      ListModelBuilder builder)
Method Detail

build

protected void build(Component title,
                     Component selector,
                     SingleSelectionModel model)

reset

public void reset(PageState state)
Description copied from interface: Resettable
Resets the state of the component to its original appearance.

Specified by:
reset in interface Resettable
Overrides:
reset in class ComponentMap

addAction

public final void addAction(Component action)

addAction

public final void addAction(Component action,
                            String clacc)

getSelector

public final Component getSelector()

setSelector

protected final void setSelector(Component selector)

setSelectionModel

public final void setSelectionModel(SingleSelectionModel model)

getSelectionModel

public final SingleSelectionModel getSelectionModel()

getAddLink

public final ActionLink getAddLink()

getAddForm

public final Form getAddForm()

setAdd

public final void setAdd(GlobalizedMessage message,
                         Form form)

setAdd

public final void setAdd(ActionLink addLink,
                         Form form)

getEditLink

public final ActionLink getEditLink()

getEditForm

public final Form getEditForm()

setEdit

public final void setEdit(GlobalizedMessage message,
                          Form form)

setEdit

public final void setEdit(ActionLink editLink,
                          Form form)

getDeleteLink

public final ActionLink getDeleteLink()

getDeleteForm

public final Form getDeleteForm()

setDelete

public final void setDelete(GlobalizedMessage message,
                            Form form)

setDelete

public final void setDelete(ActionLink deleteLink,
                            Form form)

getBody

public final ModalPanel getBody()

getIntroPane

public final Component getIntroPane()

setIntroPane

public final void setIntroPane(Component pane)

getItemPane

public final Component getItemPane()

setItemPane

public final void setItemPane(Component pane)


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC