|
|||||||||
| 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
|
+--xmltool.gui.NodePopUps
Dialog box for updating a node's parameters. This is used to update parameters of elements/attributes of the node which are not the root of the DTD
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
NodePopUps(java.awt.Frame inFrame,
ParsedData parsedData,
java.lang.String pNodeName,
java.lang.String pFileName,
int i,
Node onNode,
java.lang.String parentName)
Construct a dialog box to adjust the parameter for a node. |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
Handle button events. |
void |
addNewAttribute(int i,
java.lang.String val,
java.lang.String opVal)
Add the attribute just created to the cp_bottom panel |
void |
addNewElement(java.lang.String val,
java.lang.String opVal)
Add the element just created to the cp_bottom panel |
void |
drawLinks()
Draw the links set by initLinks |
void |
drawRects()
Draw the rectangles intialized by the initRects() method |
void |
duplicate(int i)
Duplicate the element |
void |
duplicate(int i,
int j)
Duplicate the attribute |
void |
initRects()
Initialize rectangles to draw, where the AND/ OR conditions are represented |
void |
mouseClicked(java.awt.event.MouseEvent evt)
Handle mouse click events |
void |
mouseDragged(java.awt.event.MouseEvent e)
Not implemented |
void |
mouseEntered(java.awt.event.MouseEvent e)
Not implemented |
void |
mouseExited(java.awt.event.MouseEvent e)
Not implemented |
void |
mouseMoved(java.awt.event.MouseEvent e)
Not implemented |
void |
mousePressed(java.awt.event.MouseEvent e)
Not implemented |
void |
mouseReleased(java.awt.event.MouseEvent e)
Not implemented |
| Methods inherited from class java.awt.Dialog |
addNotify,
getTitle,
isModal,
isResizable,
paramString,
setModal,
setResizable,
setTitle,
show |
| Methods inherited from class java.awt.Window |
addWindowListener,
applyResourceBundle,
applyResourceBundle,
dispose,
finalize,
getFocusOwner,
getInputContext,
getLocale,
getOwnedWindows,
getOwner,
getToolkit,
getWarningString,
isShowing,
pack,
postEvent,
processEvent,
processWindowEvent,
removeWindowListener,
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,
hide,
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,
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 |
| Constructor Detail |
public NodePopUps(java.awt.Frame inFrame,
ParsedData parsedData,
java.lang.String pNodeName,
java.lang.String pFileName,
int i,
Node onNode,
java.lang.String parentName)
inFrame - containing frameparsedData - The ParsedData parent object whose ith child is to be displayedpNodeName - Name of the current nodepFileName - File name corresponding to the DTD under considerationi - Which element of parsedData is the parent hereonNode - The node itself(We need this also, cause this represents saved data so farparentName - Name of parent element (DTD terminology)| Method Detail |
public void initRects()
public void drawRects()
public void actionPerformed(java.awt.event.ActionEvent evt)
evt - button action event
public void addNewAttribute(int i,
java.lang.String val,
java.lang.String opVal)
i - Element whose attribute is to be displayedval - Value to be put in the text field
public void addNewElement(java.lang.String val,
java.lang.String opVal)
val - Value to be put in the text field
public void duplicate(int i,
int j)
i - Element number whose attribute is to be duplicatedj - Attribute number to be duplicatedpublic void duplicate(int i)
i - Element number to be duplicatedpublic void mouseClicked(java.awt.event.MouseEvent evt)
evt - MouseClicked eventpublic void drawLinks()
public void mouseDragged(java.awt.event.MouseEvent e)
public void mouseEntered(java.awt.event.MouseEvent e)
public void mouseExited(java.awt.event.MouseEvent e)
public void mousePressed(java.awt.event.MouseEvent e)
public void mouseReleased(java.awt.event.MouseEvent e)
public void mouseMoved(java.awt.event.MouseEvent e)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||