|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthicosim.components.frontend.dialogues.CustomJComponent
public class CustomJComponent
This class inherits a JPanel, two JLabels and two JTextFields, which are used for user inputs.
Constructor Summary | |
---|---|
CustomJComponent(java.lang.String titleOfFirstJLabel,
java.lang.String titleOfSecondJLabel)
|
Method Summary | |
---|---|
javax.swing.JComponent |
getComponent()
This method is needed in order to place this JPanel in a JOptionPane dialogue. |
java.lang.String |
getFirstInput()
This method returns the user generated input of the first JTextField as a String-Object. |
java.lang.String |
getSecondInput()
This method returns the user generated input of the second JTextField as a String-Object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CustomJComponent(java.lang.String titleOfFirstJLabel, java.lang.String titleOfSecondJLabel)
String
- titleOfFirstJLabelString
- titleOfSecondJLabelMethod Detail |
---|
public java.lang.String getFirstInput()
public java.lang.String getSecondInput()
public javax.swing.JComponent getComponent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |