|
|||||||||
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 | +--javax.swing.JDialog | +--pamanager.FileAgentCustomizer
The FileAgentCustomizer
class implements the
customizer for the file agent class.
Inner classes inherited from class javax.swing.JDialog |
javax.swing.JDialog.AccessibleJDialog |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AWTTreeLock |
Field Summary | |
(package private) javax.swing.JTextField |
actionTextField
|
protected FileAgent |
agent
|
(package private) javax.swing.JComboBox |
agentsComboBox
|
(package private) javax.swing.JRadioButton |
alertRadioButton
|
(package private) javax.swing.JButton |
browseButton
|
(package private) javax.swing.ButtonGroup |
buttonGroup
|
(package private) javax.swing.JButton |
cancelButton
|
(package private) boolean |
cancelled
|
(package private) javax.swing.JTextField |
commandTextField
|
(package private) javax.swing.JComboBox |
conditionComboBox
|
(package private) javax.swing.JRadioButton |
executeRadioButton
|
(package private) javax.swing.JTextField |
fileTextField
|
(package private) javax.swing.JButton |
initializeButton
|
(package private) javax.swing.JLabel |
jLabel1
|
(package private) javax.swing.JLabel |
jLabel2
|
(package private) javax.swing.JLabel |
jLabel3
|
(package private) javax.swing.JLabel |
jLabel4
|
(package private) javax.swing.JLabel |
jLabel5
|
(package private) javax.swing.JLabel |
jLabel6
|
(package private) javax.swing.JLabel |
jLabel7
|
(package private) javax.swing.JTextField |
messageTextField
|
(package private) javax.swing.JTextField |
nameTextField
|
(package private) javax.swing.JRadioButton |
notifyRadioButton
|
(package private) javax.swing.JPanel |
panel1
|
(package private) javax.swing.JTextField |
thresholdTextField
|
Fields inherited from class javax.swing.JDialog |
accessibleContext,
rootPane,
rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
modal,
resizable,
title |
Fields inherited from class java.awt.Window |
inputContext,
OPENED,
ownedWindowList,
state,
warningString,
windowListener |
Fields inherited from class java.awt.Container |
component,
containerListener,
layoutMgr,
ncomponents |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
componentListener,
componentListenerK,
componentOrientation,
containerListenerK,
cursor,
dropTarget,
enabled,
eventMask,
focusListener,
focusListenerK,
font,
foreground,
hasFocus,
height,
incRate,
inputMethodListener,
inputMethodListenerK,
isInc,
isPacked,
itemListenerK,
keyListener,
keyListenerK,
LEFT_ALIGNMENT,
locale,
LOCK,
minSize,
mouseListener,
mouseListenerK,
mouseMotionListener,
mouseMotionListenerK,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Constructor Summary | |
FileAgentCustomizer()
Creates a FileAgentCustomizer object. |
|
FileAgentCustomizer(java.awt.Frame frame,
java.lang.String title,
boolean modal)
Creates a FileAgentCustomizer object using the given
frame, title, and modal setting. |
Method Summary | |
(package private) void |
browseButton_actionPerformed(java.awt.event.ActionEvent e)
Puts up a file selection dialog when the browse button is pressed. |
(package private) void |
cancelButton_actionPerformed(java.awt.event.ActionEvent e)
Performs the action when the cancel button is pressed. |
(package private) FileAgent |
getAgent()
Retrieves the file agent. |
void |
getDataFromBean()
Gets the properties data from bean and sets the GUI controls. |
(package private) void |
initializeButton_actionPerformed(java.awt.event.ActionEvent e)
Performs the action when the OK button is pressed. |
boolean |
isCancelled()
Indicates whether the customizer has been cancelled |
(package private) void |
jbInit()
Initializes the customizer. |
void |
setDataOnBean()
Sets properties on the bean using data from the GUI controls. |
void |
setObject(java.lang.Object obj)
Sets the object to be customized. |
Methods inherited from class javax.swing.JDialog |
addImpl,
createRootPane,
dialogInit,
getAccessibleContext,
getContentPane,
getDefaultCloseOperation,
getGlassPane,
getJMenuBar,
getLayeredPane,
getRootPane,
isRootPaneCheckingEnabled,
paramString,
processWindowEvent,
setContentPane,
setDefaultCloseOperation,
setGlassPane,
setJMenuBar,
setLayeredPane,
setLayout,
setLocationRelativeTo,
setRootPane,
setRootPaneCheckingEnabled,
update |
Methods inherited from class java.awt.Dialog |
|
Methods inherited from class java.awt.Window |
addOwnedWindow,
addWindowListener,
applyResourceBundle,
applyResourceBundle,
connectOwnedWindow,
dispatchEventImpl,
dispose,
eventEnabled,
finalize,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
isActive,
isShowing,
nextFocus,
pack,
postEvent,
postProcessKeyEvent,
postWindowEvent,
preProcessKeyEvent,
processEvent,
removeOwnedWindow,
removeWindowListener,
setFocusOwner,
toBack,
toFront,
transferFocus |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
applyOrientation,
countComponents,
deliverEvent,
dispatchEventToSelf,
doLayout,
findComponentAt,
findComponentAt,
getAlignmentX,
getAlignmentY,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents_NoClientCode,
getComponents,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getMouseEventTarget,
getPreferredSize,
getWindow,
insets,
invalidate,
invalidateTree,
isAncestorOf,
layout,
lightweightPrint,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
postsOldMouseEvents,
preferredSize,
print,
printComponents,
processContainerEvent,
proxyEnableEvents,
proxyRequestFocus,
remove,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
validate,
validateTree |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
areInputMethodsEnabled,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
disable,
disableEvents,
dispatchEvent,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentOrientation,
getCursor,
getDropTarget,
getFont_NoClientCode,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getHeight,
getInputMethodRequests,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getSize,
getToolkitImpl,
getTreeLock,
getWidth,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
isDisplayable,
isDoubleBuffered,
isEnabled,
isEnabledImpl,
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,
setCursor,
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 |
Field Detail |
javax.swing.JPanel panel1
javax.swing.JLabel jLabel1
javax.swing.JLabel jLabel2
javax.swing.JTextField fileTextField
javax.swing.JLabel jLabel3
javax.swing.JComboBox conditionComboBox
javax.swing.JButton browseButton
javax.swing.JLabel jLabel4
javax.swing.JTextField thresholdTextField
javax.swing.JLabel jLabel5
javax.swing.JComboBox agentsComboBox
javax.swing.JLabel jLabel6
javax.swing.JTextField messageTextField
javax.swing.JButton initializeButton
javax.swing.JButton cancelButton
javax.swing.JTextField nameTextField
javax.swing.ButtonGroup buttonGroup
boolean cancelled
protected FileAgent agent
javax.swing.JRadioButton alertRadioButton
javax.swing.JRadioButton executeRadioButton
javax.swing.JRadioButton notifyRadioButton
javax.swing.JTextField commandTextField
javax.swing.JTextField actionTextField
javax.swing.JLabel jLabel7
Constructor Detail |
public FileAgentCustomizer(java.awt.Frame frame, java.lang.String title, boolean modal)
FileAgentCustomizer
object using the given
frame, title, and modal setting.frame
- the Frame object for this customizertitle
- the String object that contains the title for this
customizermodal
- the boolean flag that indicates modalitypublic FileAgentCustomizer()
FileAgentCustomizer
object.Method Detail |
FileAgent getAgent()
public void setObject(java.lang.Object obj)
obj
- the Object (FileAgent) object to be customizedvoid jbInit() throws java.lang.Exception
void initializeButton_actionPerformed(java.awt.event.ActionEvent e)
e
- the ActionEvent object generated when the OK button is pressedvoid cancelButton_actionPerformed(java.awt.event.ActionEvent e)
e
- the ActionEvent object generated when the cancel button is pressedpublic boolean isCancelled()
true
if the customizer has been
cancelled; otherwise returns false
void browseButton_actionPerformed(java.awt.event.ActionEvent e)
e
- the ActionEvent object generated when the browse button is pressedpublic void getDataFromBean()
public void setDataOnBean()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |