|
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.JPanel | +--com.sssw.rt.atlas.AtPanel | +--com.sssw.rt.form.PvBasePanel | +--com.sssw.rt.form.AgcButtonRaw | +--com.sssw.rt.form.AgcButtonImage
The AgcButtonImage control (Image Button) is a means for associating a single or multiple .GIF or .JPG images with one of the following button types: Toggle, Radio, or Push.
Once the type of button control has been chosen (by specifying the Button Type property) the Image button takes on some of the properties associated with that button type. For example, if Button Type = Radio Button, then a Radio Button Group can be established for the Image button. Note, however, that even though the button type affects some of the properties of the image button, image buttons are always instances of the AgcButtonImage class.
The primary image for the button is called the Up Image. This image is displayed when the button is in the up, or unpressed, state. A different image can be specified to display when the button is in the down, or pressed, state. If the button is a Push button type, then the down image is displayed only while the user is holding the mouse button down while the cursor is over the button. If the button is a Toggle or Radio button type, then the down image displays when the button is in the pressed state.
Any SilverStream button control can be defined as the default button for the form or the cancel button for the form. When a button is defined as the default button for the form, its actionPerformed event fires when the user presses Enter while on the form regardless of the control that has focus (unless the control that has focus supports an event for the Enter key, for example Text Area). When a button is defined as the cancel button for a form, its actionPerformed event fires when the user presses the ESC key while focus is anywhere on the form.
Inner classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Fields inherited from class com.sssw.rt.form.AgcButtonRaw |
IMAGEPOSITION_ABOVE,
IMAGEPOSITION_BELOW,
IMAGEPOSITION_BENEATH,
IMAGEPOSITION_LEFT,
IMAGEPOSITION_RIGHT |
Fields inherited from class com.sssw.rt.atlas.AtPanel |
BGIMAGE_DRAW_CENTERED,
BGIMAGE_DRAW_NORMAL,
BGIMAGE_DRAW_STRETCH,
BGIMAGE_DRAW_TILED |
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 | |
AgcButtonImage()
|
Methods inherited from class com.sssw.rt.form.PvBasePanel |
getBackgroundColor,
getFontIdentifier,
setBackgroundColor,
setFontIdentifier |
Methods inherited from class com.sssw.rt.atlas.AtPanel |
addImpl,
addNotify,
clientPaint,
clientPaint,
deliverMouseEvent,
deliverMouseMoveEvent,
doAtCommand,
drawTiledImage,
enableAtCommands,
getBackgroundImage,
getBackgroundImageMode,
getHelper,
getTransparent,
hide,
hideToolTip,
imageUpdate,
isFocusTraversable,
isOptimizedDrawingEnabled,
ownedImage,
paintBorder,
paintComponent,
paintImmediately,
paintImmediately,
paintNow,
preprocessKeyEvent,
processEvent,
reshape,
setBackgroundImage,
setBackgroundImageMode,
setTransparent,
show,
showToolTip |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
paramString,
updateUI |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
printComponents,
processContainerEvent,
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.AgiControl |
getComponent,
getHelpInfo,
setHelpInfo |
Constructor Detail |
public AgcButtonImage()
|
SilverStream Application Server 3.5 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |