| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.event.WindowAdapter
org.fosstrak.epcis.queryclient.QueryClientGui
public class QueryClientGui
Implements the GUI part of the EPCIS Query Interface client.
| Nested Class Summary | |
|---|---|
|  class | QueryClientGui.JTextFieldEnhancedA extended JTextField which allows us to store the corresponding QueryItem. | 
| static class | QueryClientGui.ParameterTypeThe enumeration of all possible query parameter types. | 
|  class | QueryClientGui.QueryItemA new class for a QueryItem which can store all its specific features. | 
| Constructor Summary | |
|---|---|
| QueryClientGui()The constructor. | |
| QueryClientGui(String address)Constructs a new QueryClientGui which sends its queries to the given endpoint address. | |
| Method Summary | |
|---|---|
|  void | actionPerformed(ActionEvent e) | 
|  void | addParameter(QueryParam param)Add a new query parameter. | 
|  void | clearParameters()Reset the query arguments. | 
|  void | configurationChanged(AuthenticationOptionsChangeEvent ace)Call this when the settings in the AuthenticationOptionsPanel have changed. | 
| static void | main(String[] args)Instantiates a new QueryClientGui and sets its look-and-feel to the one matching the current operating system. | 
|  void | windowClosing(WindowEvent e) | 
| Methods inherited from class java.awt.event.WindowAdapter | 
|---|
| windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public QueryClientGui()
public QueryClientGui(String address)
               throws MalformedURLException
address - The address to send the queries to.
MalformedURLException| Method Detail | 
|---|
public final void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void windowClosing(WindowEvent e)
windowClosing in interface WindowListenerwindowClosing in class WindowAdapterpublic void configurationChanged(AuthenticationOptionsChangeEvent ace)
AuthenticationOptionsChangeListener
configurationChanged in interface AuthenticationOptionsChangeListenerace - an AuthenticationOptionsChangeEvent describing the changes.public void clearParameters()
public void addParameter(QueryParam param)
param - The query parameter to add.public static void main(String[] args)
args - The address to which the QueryClient should send the queries
            to. If omitted, a default address will be provided.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||