|
|||||||||
| Home >> All >> reeb >> [ lazysync overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
reeb.lazysync
Class LazySyncWin

java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
reeb.lazysync.LazySyncWin
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.event.ActionListener, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
- public class LazySyncWin
- extends javax.swing.JFrame
- implements java.awt.event.ActionListener
- extends javax.swing.JFrame
The SavaJe Java LazySync client
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JFrame |
javax.swing.JFrame.AccessibleJFrame |
| Nested classes inherited from class java.awt.Frame |
java.awt.Frame.AccessibleAWTFrame |
| Nested classes inherited from class java.awt.Window |
java.awt.Window.AccessibleAWTWindow |
| Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary | |
private java.io.PrintWriter |
console
The printwriter for the text area |
private javax.swing.JTextField |
dirText
The syncdir field |
private javax.swing.JTextField |
ipText
The ip text field |
private javax.swing.JTextArea |
logText
The text field |
private javax.swing.JButton |
syncButt
The sync button |
private javax.swing.JMenuItem |
syncItem
The sync menu item |
private LazySyncThread |
thread
The LazySync thread |
private javax.swing.Timer |
timer
The timer checks for task completion |
| Fields inherited from class javax.swing.JFrame |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Window |
|
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
LazySyncWin()
Constructor |
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent event)
The action handler |
private void |
checkSyncThread()
Checks the sync thread for completion |
void |
exit()
Exits out |
private javax.swing.ImageIcon |
getImageFromJAR(java.lang.String imageName)
Returns an ImageIcon from the main jar |
static void |
main(java.lang.String[] args)
Main entry point |
private void |
readProperties()
Reads in the properties |
void |
sync()
Performs the sync operation |
private void |
writeProperties()
Writes out the properties |
| Methods inherited from class java.awt.Frame |
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setIconImage, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
getFont, postEvent |
| Field Detail |
logText
private javax.swing.JTextArea logText
- The text field
ipText
private javax.swing.JTextField ipText
- The ip text field
dirText
private javax.swing.JTextField dirText
- The syncdir field
thread
private LazySyncThread thread
- The LazySync thread
console
private java.io.PrintWriter console
- The printwriter for the text area
syncItem
private javax.swing.JMenuItem syncItem
- The sync menu item
syncButt
private javax.swing.JButton syncButt
- The sync button
timer
private javax.swing.Timer timer
- The timer checks for task completion
| Constructor Detail |
LazySyncWin
public LazySyncWin()
- Constructor
| Method Detail |
writeProperties
private void writeProperties()
- Writes out the properties
readProperties
private void readProperties()
- Reads in the properties
getImageFromJAR
private javax.swing.ImageIcon getImageFromJAR(java.lang.String imageName)
- Returns an ImageIcon from the main jar
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent event)
- The action handler
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
checkSyncThread
private void checkSyncThread()
- Checks the sync thread for completion
exit
public void exit()
- Exits out
sync
public void sync()
- Performs the sync operation
main
public static void main(java.lang.String[] args)
- Main entry point
|
|||||||||
| Home >> All >> reeb >> [ lazysync overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC