com.arsdigita.ui.sitemap
Class SiteMapAdminPane
java.lang.Object
com.arsdigita.bebop.Completable
com.arsdigita.bebop.SimpleComponent
com.arsdigita.bebop.TextStylable
com.arsdigita.bebop.BlockStylable
com.arsdigita.bebop.SimpleContainer
com.arsdigita.ui.sitemap.SiteMapAdminPane
- All Implemented Interfaces:
- ActionListener, Cloneable, Component, Container, EventListener, Lockable
- public class SiteMapAdminPane
- extends SimpleContainer
- implements ActionListener
Fields inherited from class com.arsdigita.bebop.BlockStylable |
ABSBOTTOM, ABSMIDDLE, BASELINE, BOTTOM, CENTER, FULL_WIDTH, INSERT, LEFT, MIDDLE, RIGHT, TEXTTOP, TOP |
Methods inherited from class com.arsdigita.bebop.SimpleContainer |
add, add, children, contains, generateChildrenXML, generateParent, generateXML, get, getNamespace, getTag, indexOf, isEmpty, setNamespace, setTag, size |
Methods inherited from class com.arsdigita.bebop.SimpleComponent |
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, respond, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible |
Methods inherited from interface com.arsdigita.bebop.Component |
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, register, respond, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible |
versionId
public static final String versionId
- See Also:
- Constant Field Values
SiteMapAdminPane
public SiteMapAdminPane(SingleSelectionModel m,
ToggleLink l)
register
public void register(Page p)
- Description copied from interface:
Component
- Registers state parameters for the page with its model.
A simple component with a state parameter
param
would do
the following in the body of this method:
p.addComponent(this);
p.addComponentStateParam(this, param);
You should override this method to set the default visibility
of your component:
public void register(Page p) {
super.register(p);
p.setVisibleDefault(childNotInitiallyShown,false);
p.setVisibleDefault(anotherChild, false);
}
Always call super.register
when you override
register
. Otherwise your component may
malfunction and produce errors like "Widget ... isn't
associated with any Form"
- Specified by:
register
in interface Component
- Overrides:
register
in class SimpleComponent
actionPerformed
public void actionPerformed(ActionEvent e)
- Description copied from interface:
ActionListener
- Invoked when an action has been performed.
- Specified by:
actionPerformed
in interface ActionListener
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC