|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.AbstractButton | +--javax.swing.JButton | +--com.sssw.rt.jform.AgcJButton
A lightweight component that displays a push button with a text label, an icon, or both. AgcJButton supports context-sensitive help.
AgcJButton provides standard default-button behavior. When the user tabs to a button control, the default-button outline moves to the button with focus. If the user tabs to a control that is not a button, the default-button outline returns to the designated default button.
Inner classes inherited from class javax.swing.JButton |
JButton.AccessibleJButton |
Inner classes inherited from class javax.swing.AbstractButton |
AbstractButton.AccessibleAbstractButton,
AbstractButton.ButtonChangeListener |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
AgcJButton()
Creates a button with no set text or icon. |
|
AgcJButton(Icon icon)
Creates a button that displays an image. |
|
AgcJButton(String text)
Creates a button that displays text. |
|
AgcJButton(String text,
Icon icon)
Creates a button that displays text and an image. |
Methods inherited from class javax.swing.JButton |
getAccessibleContext,
getUIClassID,
isDefaultButton,
isDefaultCapable,
paramString,
setDefaultCapable,
updateUI |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Methods implemented from interface com.sssw.rt.form.AgiHelpInfo |
getHelpInfo,
setHelpInfo |
Constructor Detail |
public AgcJButton()
public AgcJButton(Icon icon)
icon
- the Icon image displayed on the buttonpublic AgcJButton(String text)
text
- the text displayed on the buttonpublic AgcJButton(String text, Icon icon)
text
- the text displayed on the buttonicon
- the Icon image displayed on the buttonAbstractButton.setHorizontalTextPosition(int)
,
AbstractButton.setVerticalTextPosition(int)
,
AbstractButton.setHorizontalAlignment(int)
, and
AbstractButton.setVerticalAlignment(int)
.
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |