|
|||||||||
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 | +--java.awt.Window | +--java.awt.Dialog | +--com.ibm.dse.base.GetItemsToSave
This class creates a dialog box used to add items to a file.
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
GetItemsToSave(java.awt.Frame parent)
This constructor creates a GetItemsToSave dialog in the specified parent frame. |
|
GetItemsToSave(java.awt.Frame parent,
boolean modal)
This constructor creates a GetItemsToSave dialog in the specified parent frame. |
|
GetItemsToSave(java.awt.Frame parent,
int min,
int max)
This constructor creates a GetItemsToSave dialog in the specified parent frame. |
|
GetItemsToSave(java.awt.Frame parent,
java.lang.String title)
This constructor creates a GetItemsToSave dialog in the specified parent frame. |
|
GetItemsToSave(java.awt.Frame parent,
java.lang.String title,
boolean modal)
This constructor creates a GetItemsToSave dialog in the specified parent frame. |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Method to handle events for the ActionListener interface. |
void |
cancel()
Closes the dialog when the Cancel button is pressed. |
void |
focusGained(java.awt.event.FocusEvent e)
Method to handle events for the FocusListener interface. |
void |
focusLost(java.awt.event.FocusEvent e)
Method to handle events for the FocusListener interface. |
int |
getCount()
Returns the value of the counter. |
int |
getInitItem()
Returns the number of initialized items. |
boolean |
getReturnCode()
Returns the retcode. |
void |
initialize(int min,
int max)
Initialize the dialog with default values and maximum and minimum values. |
static void |
main(java.lang.String[] args)
main entrypoint - starts the part when it is run as an application |
void |
oK()
Validates the items to be saved and closes the window when the OK button is pressed. |
void |
windowActivated(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowClosed(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowClosing(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowDeactivated(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowDeiconified(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowIconified(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
void |
windowOpened(java.awt.event.WindowEvent e)
Method to handle events for the WindowListener interface. |
Methods inherited from class java.awt.Dialog |
addNotify,
dispose,
getTitle,
hide,
isModal,
isResizable,
paramString,
setModal,
setResizable,
setTitle,
show |
Methods inherited from class java.awt.Window |
addWindowListener,
applyResourceBundle,
applyResourceBundle,
finalize,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
isShowing,
pack,
postEvent,
processEvent,
processWindowEvent,
removeWindowListener,
setCursor,
toBack,
toFront |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getPreferredSize,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
setLayout,
update,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputMethodRequests,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getParent,
getPeer,
getSize,
getSize,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isValid,
isVisible,
keyDown,
keyUp,
list,
list,
list,
location,
lostFocus,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
prepareImage,
prepareImage,
printAll,
processComponentEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setDropTarget,
setEnabled,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
size,
toString,
transferFocus |
Methods inherited from class java.lang.Object |
clone,
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public GetItemsToSave(java.awt.Frame parent)
parent
- Symbolpublic GetItemsToSave(java.awt.Frame parent, int min, int max)
parent
- java.awt.Framemin
- intmax
- intpublic GetItemsToSave(java.awt.Frame parent, java.lang.String title)
parent
- java.awt.Frametitle
- java.lang.Stringpublic GetItemsToSave(java.awt.Frame parent, java.lang.String title, boolean modal)
parent
- java.awt.Frametitle
- java.lang.Stringmodal
- booleanpublic GetItemsToSave(java.awt.Frame parent, boolean modal)
parent
- java.awt.Framemodal
- booleanMethod Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
e
- java.awt.event.ActionEventpublic void cancel()
public void focusGained(java.awt.event.FocusEvent e)
e
- java.awt.event.FocusEventpublic void focusLost(java.awt.event.FocusEvent e)
e
- java.awt.event.FocusEventpublic int getCount()
public int getInitItem()
public boolean getReturnCode()
public void initialize(int min, int max)
min
- intmax
- intpublic static void main(java.lang.String[] args)
args
- java.lang.String[]public void oK()
public void windowActivated(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowClosed(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowClosing(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowDeactivated(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowDeiconified(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowIconified(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEventpublic void windowOpened(java.awt.event.WindowEvent e)
e
- java.awt.event.WindowEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |