|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcmlog.gui.Disp
| Field Summary | |
static org.eclipse.swt.widgets.Display |
display
Reference to window manager's SWT display |
int |
IDLE
type is set to IDLE when display is simply connected |
int |
QUERYING
type is set to QUERYING when display is in query mode |
org.eclipse.swt.widgets.Shell |
shell
New window for GUI contents |
int |
UPDATING
type is set to UPDATING when display is in update mode |
| Constructor Summary | |
Disp(Config config,
int initnumrow,
int type,
Jcmlog jcm)
Constructor |
|
| Method Summary | |
void |
connect(java.lang.String host,
int port)
Perform connect action. |
void |
controlMoved(org.eclipse.swt.events.ControlEvent arg0)
|
void |
controlResized(org.eclipse.swt.events.ControlEvent arg0)
|
void |
disconnect()
Performe disconnect operation. |
void |
doQuery(java.util.Date from,
java.util.Date to,
int numitems,
boolean getall,
java.lang.String qstr,
boolean removeold)
Doing query |
void |
exit()
Perform exit action. |
Config |
getConfigObject()
Return configuration object. |
DataHandler |
getDataHandler()
|
Disp |
getDisp()
|
Jcmlog |
getParentWindow()
Return parent window of this display. |
org.eclipse.swt.widgets.Shell |
getShell()
|
org.eclipse.swt.widgets.Table |
getTable()
Return table object to upper window. |
int |
getType()
Get type of this display. |
void |
popupErrorDialog(java.lang.String message)
Display Error Message |
void |
popupInfoDialog(java.lang.String message,
java.lang.String shellTitle)
Display Info Message |
void |
popupWarningDialog(java.lang.String message)
Display Warning Message |
void |
removeAll()
Remove all items inside the table. |
void |
saveConfig()
Save current settings. |
void |
setParentWindow(Jcmlog parent)
Set parent window of this display. |
void |
setType(int type)
Set type of this display. |
void |
startUpdating(java.lang.String selection)
Start monitoring incoming messages. |
void |
stopQuery()
Stop a query |
void |
stopUpdating()
Stop monitoring incoming messages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static org.eclipse.swt.widgets.Display display
public org.eclipse.swt.widgets.Shell shell
public final int UPDATING
public final int QUERYING
public final int IDLE
| Constructor Detail |
public Disp(Config config,
int initnumrow,
int type,
Jcmlog jcm)
config - Configuration objectinitnumrow - Initial number of rows table containstype - Either IDLE, UPDATING, or QUERYINGjcm - Overall GUI object| Method Detail |
public Disp getDisp()
public org.eclipse.swt.widgets.Shell getShell()
public DataHandler getDataHandler()
public org.eclipse.swt.widgets.Table getTable()
public Jcmlog getParentWindow()
public void setParentWindow(Jcmlog parent)
public Config getConfigObject()
public void popupErrorDialog(java.lang.String message)
public void popupWarningDialog(java.lang.String message)
public void popupInfoDialog(java.lang.String message,
java.lang.String shellTitle)
public int getType()
public void setType(int type)
public void startUpdating(java.lang.String selection)
public void stopUpdating()
public void doQuery(java.util.Date from,
java.util.Date to,
int numitems,
boolean getall,
java.lang.String qstr,
boolean removeold)
public void stopQuery()
public void removeAll()
public void exit()
public void connect(java.lang.String host,
int port)
public void disconnect()
public void saveConfig()
public void controlMoved(org.eclipse.swt.events.ControlEvent arg0)
controlMoved in interface org.eclipse.swt.events.ControlListenerpublic void controlResized(org.eclipse.swt.events.ControlEvent arg0)
controlResized in interface org.eclipse.swt.events.ControlListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||