|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--system.JDControl
This class does all the internal work that the GUI asks for. It acts as the event listener for button pressing.
Field Summary | |
protected JDFrame |
gui
The associated GUI. |
Constructor Summary | |
JDControl(JDFrame frame)
Constructs a new JDControl and associates it with the passed GUI. |
Method Summary | |
void |
actionPerformed(ActionEvent event)
Gets called when an ActionEvent is generated. |
private void |
addAttributeTag()
Adds the entered attribute tag to the list of attribute tags. |
private void |
addClassTag()
Adds the entered class tag to the list of class tags. |
private void |
addMethodTag()
Adds the entered method tag to the list of method tags. |
protected void |
convert()
Converts the comments in the selected files into Javadoc comments. |
protected void |
listFiles()
Lists all the files in the input folder in the file list of gui. |
private void |
moveDownAttributeTag()
Moves the selected attribute tag down one in the list of attribute tags. |
private void |
moveDownClassTag()
Moves the selected class tag down one in the list of class tags. |
private void |
moveDownMethodTag()
Moves the selected method tag down one in the list of method tags. |
private void |
moveUpAttributeTag()
Moves the selected method tag up one in the list of method tags. |
private void |
moveUpClassTag()
Moves the selected class tag up one in the list of class tags. |
private void |
moveUpMethodTag()
Moves the selected method tag up one in the list of method tags. |
private void |
removeAttributeTag()
Removes the selected attribute tag from the list of attribute tags. |
private void |
removeClassTag()
Removes the selected class tag from the list of class tags. |
private void |
removeMethodTag()
Removes the selected method tag from the list of method tags. |
private void |
selectAll()
Selects all the files in the file list in gui. |
private void |
selectNone()
Deselects all the files in the file list in gui. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected JDFrame gui
Constructor Detail |
public JDControl(JDFrame frame)
frame
- The GUI to associate with.Method Detail |
public void actionPerformed(ActionEvent event)
actionPerformed
in interface ActionListener
event
- The generated event.protected void listFiles()
protected void convert()
private void selectAll()
private void selectNone()
private void addClassTag()
private void removeClassTag()
private void moveUpClassTag()
private void moveDownClassTag()
private void addMethodTag()
private void removeMethodTag()
private void moveUpMethodTag()
private void moveDownMethodTag()
private void addAttributeTag()
private void removeAttributeTag()
private void moveUpAttributeTag()
private void moveDownAttributeTag()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |