|
POGO Java Program |
|||||
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 | +--pogo.appli.CommandDialog
A Dialog Class to get the Command parameters.
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 | |
private javax.swing.JButton |
allowedBtn
|
private javax.swing.JComboBox |
arginComboBox
|
private javax.swing.JTextField |
arginDescText
|
private javax.swing.JComboBox |
argoutComboBox
|
private javax.swing.JTextField |
argoutDescText
|
private javax.swing.JButton |
cancelBtn
|
private javax.swing.JTextArea |
cmdDescText
|
private int |
editingIdx
|
private java.util.Vector |
existingCmd
|
private javax.swing.JLabel |
jLabel1
|
private javax.swing.JLabel |
jLabel2
|
private javax.swing.JLabel |
jLabel4
|
private javax.swing.JLabel |
jLabel5
|
private javax.swing.JLabel |
jLabel6
|
private javax.swing.JLabel |
jLabel8
|
private javax.swing.JPanel |
jPanel1
|
private javax.swing.JPanel |
jPanel2
|
private javax.swing.JLabel |
nameLbl
|
private javax.swing.JTextField |
nameText
|
private DevStateTable |
notAllowedFor
|
private javax.swing.JButton |
okBtn
|
private java.awt.Frame |
parent
|
private static int |
returnStatus
|
private java.util.Vector |
stVector
|
Fields inherited from class javax.swing.JDialog |
accessibleContext,
defaultCloseOperation,
rootPane,
rootPaneCheckingEnabled |
Fields inherited from class java.awt.Dialog |
base,
keepBlocking,
modal,
nameCounter,
resizable,
serialVersionUID,
title |
Fields inherited from class java.awt.Window |
active,
base,
focusMgr,
inputContext,
nameCounter,
OPENED,
ownedWindowList,
serialVersionUID,
state,
warningString,
weakThis,
windowListener,
windowSerializedDataVersion |
Fields inherited from class java.awt.Container |
component,
containerListener,
containerSerializedDataVersion,
dispatcher,
layoutMgr,
maxSize,
ncomponents,
serialVersionUID |
Fields inherited from class java.awt.Component |
actionListenerK,
adjustmentListenerK,
appContext,
assert,
background,
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
changeSupport,
componentListener,
componentListenerK,
componentOrientation,
componentSerializedDataVersion,
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,
name,
nameExplicitlySet,
newEventsOnly,
ownedWindowK,
parent,
peer,
peerFont,
popups,
prefSize,
RIGHT_ALIGNMENT,
serialVersionUID,
textListenerK,
TOP_ALIGNMENT,
valid,
visible,
width,
windowListenerK,
x,
y |
Fields inherited from interface pogo.appli.PogoAppliDefs |
ATTRIBUTES,
BTN1,
BTN2,
BTN3,
COLLECTION,
COMMANDS,
FILE_SAVE,
GENE_DOC,
GENE_SRC,
helpAbout,
helpContents,
IMPORT_FILE,
LEAF_ITEM,
OPEN_FILE,
PALETTE_CREATE_ATTR,
PALETTE_CREATE_CMD,
PALETTE_CREATE_PROP,
PALETTE_CREATE_STATE,
PALETTE_EDIT_CLASS,
PROPERTIES,
RET_CANCEL,
RET_ERROR,
RET_OK,
STATES,
TangoTypesArray,
TREE_ROOT |
Constructor Summary | |
CommandDialog(java.awt.Frame parent,
boolean modal,
java.util.Vector stVect,
java.util.Vector cmdVect)
Initializes the Form |
Method Summary | |
private void |
allowedBtnActionPerformed(java.awt.event.ActionEvent evt)
|
private void |
cancelBtnActionPerformed(java.awt.event.ActionEvent evt)
|
private int |
checkCommandName()
|
private void |
closeDialog(java.awt.event.WindowEvent evt)
Closes the dialog |
private void |
doClose(int retStatus)
|
Cmd |
getInputCommand()
|
private void |
initComponents()
This method is called from within the constructor to initialize the form. |
static void |
main(java.lang.String[] args)
|
private void |
nameTextActionPerformed(java.awt.event.ActionEvent evt)
|
private void |
okBtnActionPerformed(java.awt.event.ActionEvent evt)
|
int |
showDialog()
|
int |
showDialog(Cmd cmd,
int idx)
|
Methods inherited from class javax.swing.JDialog |
addImpl,
createRootPane,
createRootPaneException,
dialogInit,
getAccessibleContext,
getContentPane,
getDefaultCloseOperation,
getGlassPane,
getJMenuBar,
getLayeredPane,
getRootPane,
isRootPaneCheckingEnabled,
paramString,
processKeyEvent,
processWindowEvent,
remove,
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,
eventEnabled,
finalize,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
isActive,
isShowing,
nextFocus,
ownedInit,
pack,
postEvent,
postProcessKeyEvent,
postWindowEvent,
preProcessKeyEvent,
processEvent,
readObject,
removeOwnedWindow,
removeWindowListener,
setCursor,
setFocusOwner,
setWarningString,
toBack,
toFront,
transferFocus,
writeObject |
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,
getCursorTarget,
getInsets,
getLayout,
getMaximumSize,
getMinimumSize,
getMouseEventTarget,
getPreferredSize,
getWindow,
insets,
invalidate,
invalidateTree,
isAncestorOf,
layout,
lightweightPrint,
list,
list,
locate,
minimumSize,
paint,
paintComponents,
postsOldMouseEvents,
preferredSize,
print,
printComponents,
printHeavyweightComponents,
printOneComponent,
processContainerEvent,
proxyEnableEvents,
proxyRequestFocus,
remove,
removeAll,
removeContainerListener,
removeNotify,
setFont,
updateCursor,
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,
getIntrinsicCursor,
getLocation,
getLocation,
getLocationOnScreen,
getName,
getNativeContainer,
getParent_NoClientCode,
getParent,
getPeer,
getSize,
getSize,
getToolkitImpl,
getTreeLock,
getWidth,
getWindowForObject,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
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,
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,
registerNatives,
wait,
wait,
wait |
Field Detail |
private java.awt.Frame parent
private java.util.Vector stVector
private java.util.Vector existingCmd
private int editingIdx
private DevStateTable notAllowedFor
private static int returnStatus
private javax.swing.JPanel jPanel1
private javax.swing.JButton okBtn
private javax.swing.JButton cancelBtn
private javax.swing.JPanel jPanel2
private javax.swing.JLabel nameLbl
private javax.swing.JTextField nameText
private javax.swing.JLabel jLabel1
private javax.swing.JComboBox arginComboBox
private javax.swing.JLabel jLabel2
private javax.swing.JComboBox argoutComboBox
private javax.swing.JLabel jLabel8
private javax.swing.JTextField arginDescText
private javax.swing.JLabel jLabel4
private javax.swing.JTextField argoutDescText
private javax.swing.JLabel jLabel5
private javax.swing.JLabel jLabel6
private javax.swing.JTextArea cmdDescText
private javax.swing.JButton allowedBtn
Constructor Detail |
public CommandDialog(java.awt.Frame parent, boolean modal, java.util.Vector stVect, java.util.Vector cmdVect)
Method Detail |
private void initComponents()
public int showDialog(Cmd cmd, int idx)
public int showDialog()
private void allowedBtnActionPerformed(java.awt.event.ActionEvent evt)
private void nameTextActionPerformed(java.awt.event.ActionEvent evt)
private void cancelBtnActionPerformed(java.awt.event.ActionEvent evt)
private int checkCommandName()
private void okBtnActionPerformed(java.awt.event.ActionEvent evt)
private void closeDialog(java.awt.event.WindowEvent evt)
private void doClose(int retStatus)
public Cmd getInputCommand()
public static void main(java.lang.String[] args)
|
POGO Java Program |
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |