com.arsdigita.cms.ui
Class ControlButton

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.TextStylable
              extended bycom.arsdigita.bebop.BaseLink
                  extended bycom.arsdigita.bebop.ControlLink
                      extended bycom.arsdigita.cms.ui.ControlButton
All Implemented Interfaces:
Cloneable, com.arsdigita.bebop.Component, com.arsdigita.util.Lockable

public class ControlButton
extends com.arsdigita.bebop.ControlLink

Creates a ToggleLink with a button-looking image as a child


Field Summary
static String ADD
          The URL of an "Add" button
static String ADD_SUBCATEGORY
          The URL of an "Add Subcategory" button
static String DELETE
          The URL of a "Delete" button
static String EDIT
          The URL of an "Edit" button
static String versionId
           
 
Fields inherited from class com.arsdigita.bebop.ControlLink
TYPE_CONTROL
 
Fields inherited from class com.arsdigita.bebop.BaseLink
m_child, m_noJavascriptURL, m_url
 
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
ControlButton(String url)
          Construct a new ControlButton
ControlButton(String url, com.arsdigita.bebop.event.ActionListener l)
          Construct a new ControlButton
 
Method Summary
 void setControlEvent(com.arsdigita.bebop.PageState s)
           
 
Methods inherited from class com.arsdigita.bebop.ControlLink
addActionListener, fireActionEvent, generateURL, removeActionListener, respond
 
Methods inherited from class com.arsdigita.bebop.BaseLink
addPrintListener, clone, firePrintEvent, generateExtraXMLAttributes, generateXML, getChild, getNoJavascriptTarget, getTarget, removePrintListener, setChild, setConfirmation, setNoJavascriptTarget, setOnClick, setTarget, setTypeAttr, setupNoJavascriptURL
 
Methods inherited from class com.arsdigita.bebop.TextStylable
setBackgroundColor, setColor
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
children, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, lock, register, register, 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

EDIT

public static final String EDIT
The URL of an "Edit" button

See Also:
Constant Field Values

ADD

public static final String ADD
The URL of an "Add" button

See Also:
Constant Field Values

ADD_SUBCATEGORY

public static final String ADD_SUBCATEGORY
The URL of an "Add Subcategory" button

See Also:
Constant Field Values

DELETE

public static final String DELETE
The URL of a "Delete" button

See Also:
Constant Field Values
Constructor Detail

ControlButton

public ControlButton(String url)
Construct a new ControlButton

Parameters:
url - The URL to the button's image

ControlButton

public ControlButton(String url,
                     com.arsdigita.bebop.event.ActionListener l)
Construct a new ControlButton

Parameters:
url - The URL to the button's image
l - an ActionListener that will
Method Detail

setControlEvent

public void setControlEvent(com.arsdigita.bebop.PageState s)


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