|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectTimeZoneGUI
public class TimeZoneGUI
An instance is a GUI to display and manipulate Times in a time zone.
| Constructor Summary | |
|---|---|
TimeZoneGUI()
Constructor: a GUI that contains: (0) a color panel, with text to describe the color. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent e)
Process a click of one of the buttons. |
Box |
boxTimes()
= box of times constructed from times and timeButtons. |
Box |
buttonsFields()
= a Box with all the buttons and fields for input |
void |
fixBoxForTimes()
Fix the box for times, to go in the east. |
void |
fixBoxTimes()
Remove the box for times from the JFrame, make it up again, and add it |
Box |
instructionBox()
= A Box with the instructions for the north panel |
void |
processCompareButton()
Process click of compareButton() |
void |
processLegalityButton()
Process a click of testLegalityButton |
void |
processTimeInZoneButton()
Process click of getTimeInZoneButton |
int |
selectedButton(int k)
= the index of first selected button in timeButtons[k..] (length of timeButtons if none) |
static int |
toInt(String s)
= s as an integer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeZoneGUI()
| Method Detail |
|---|
public Box boxTimes()
public Box instructionBox()
public Box buttonsFields()
public void fixBoxForTimes()
public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void processCompareButton()
public void processTimeInZoneButton()
public void processLegalityButton()
public int selectedButton(int k)
public void fixBoxTimes()
public static int toInt(String s)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||