Anka Home Page

org.kizna.anka
Class WhiteBoard

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--java.awt.Window
                    |
                    +--java.awt.Frame
                          |
                          +--javax.swing.JFrame
                                |
                                +--org.kizna.anka.WhiteBoard
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants

public class WhiteBoard
extends javax.swing.JFrame

This type was generated by a SmartGuide.

See Also:
Serialized Form

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
static java.lang.String BOARDNAME_PROPERTY
           
static java.lang.String PASSWORD_PROPERTY
           
static java.lang.String PROPS_FILE
           
static java.lang.String SERVERPATH_PROPERTY
           
static java.lang.String USERNAME_PROPERTY
           
 
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.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
WhiteBoard()
          WhiteBoard constructor comment.
WhiteBoard(java.lang.String title)
          WhiteBoard constructor comment.
 
Method Summary
 void draw_FreehandMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
          Comment
 void erase_PixelsMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
          Comment
 void exitMenuItem_Accelerator(javax.swing.KeyStroke arg1)
          Comment
 void exitMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
          Comment
 javax.swing.JTextField getBoardName()
          Return the JTextField2 property value.
 org.kizna.client.KiznaClient getClient()
          Returns the client.
 javax.swing.JLabel getIvjMessageText()
          Insert the method's description here.
 javax.swing.JPanel getIvjStatusBarPane()
          Insert the method's description here.
 javax.swing.JTextField getIvjUserName()
          Insert the method's description here.
 javax.swing.JPanel getJFrameContentPane()
          Return the JFrameContentPane property value.
 javax.swing.JMenuItem getLogin_to_KiznaMenuItem()
          Return the Login_to_KiznaMenuItem property value.
 javax.swing.JButton getloginBtn()
          Return the JButton1 property value.
 javax.swing.JMenuItem getLogout_from_KiznaMenuItem()
          Return the Logout_from_KiznaMenuItem property value.
 javax.swing.JLabel getMessageText()
          Return the StatusMsg2 property value.
 javax.swing.JLabel getMessageType()
          Return the StatusMsg1 property value.
 javax.swing.JPasswordField getPassword()
          Return the JPasswordField1 property value.
 javax.swing.JTextField getServerPath()
          Return the JTextField1 property value.
 javax.swing.JTextField getUserName()
          Return the JTextField3 property value.
 javax.swing.JMenuBar getWhiteBoardJMenuBar()
          Insert the method's description here.
 WhiteBoardPanel getWhiteBoardPanel()
          Return the WhiteBoardPane property value.
 boolean isDrawing()
          Insert the method's description here.
 boolean isErasing()
          Insert the method's description here.
static void main(java.lang.String[] args)
          Starts the application.
 void setClient(org.kizna.client.KiznaClient client)
          Sets the client.
 void setDrawing(boolean newDrawing)
          Insert the method's description here.
 void setErasing(boolean newErasing)
          Insert the method's description here.
 void setMessageText(javax.swing.JLabel newMessageText)
          Insert the method's description here.
 void showAboutBox()
           
 void viewStatusBar()
           
 
Methods inherited from class javax.swing.JFrame
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
 
Methods inherited from class java.awt.Frame
addNotify, finalize, 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.awt.Window
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getMostRecentFocusOwner, getOwnedWindows, getOwner, getToolkit, getWarningString, getWindowFocusListeners, getWindowListeners, getWindowStateListeners, hide, isActive, isFocusableWindow, isFocusCycleRoot, isFocused, isShowing, pack, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, setCursor, setFocusableWindowState, setFocusCycleRoot, setLocationRelativeTo, show, toBack, toFront
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.awt.MenuContainer
getFont, postEvent
 

Field Detail

PROPS_FILE

public static final java.lang.String PROPS_FILE
See Also:
Constant Field Values

SERVERPATH_PROPERTY

public static final java.lang.String SERVERPATH_PROPERTY
See Also:
Constant Field Values

BOARDNAME_PROPERTY

public static final java.lang.String BOARDNAME_PROPERTY
See Also:
Constant Field Values

USERNAME_PROPERTY

public static final java.lang.String USERNAME_PROPERTY
See Also:
Constant Field Values

PASSWORD_PROPERTY

public static final java.lang.String PASSWORD_PROPERTY
See Also:
Constant Field Values
Constructor Detail

WhiteBoard

public WhiteBoard()
WhiteBoard constructor comment.


WhiteBoard

public WhiteBoard(java.lang.String title)
WhiteBoard constructor comment.

Parameters:
title - java.lang.String
Method Detail

draw_FreehandMenuItem_ActionPerformed

public void draw_FreehandMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment


erase_PixelsMenuItem_ActionPerformed

public void erase_PixelsMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment


exitMenuItem_Accelerator

public void exitMenuItem_Accelerator(javax.swing.KeyStroke arg1)
Comment


exitMenuItem_ActionPerformed

public void exitMenuItem_ActionPerformed(java.awt.event.ActionEvent actionEvent)
Comment


getBoardName

public javax.swing.JTextField getBoardName()
Return the JTextField2 property value.

Returns:
javax.swing.JTextField

getIvjMessageText

public javax.swing.JLabel getIvjMessageText()
Insert the method's description here. Creation date: (4/3/2001 3:39:42 PM)

Returns:
javax.swing.JLabel

getIvjStatusBarPane

public javax.swing.JPanel getIvjStatusBarPane()
Insert the method's description here. Creation date: (4/3/2001 3:18:54 PM)

Returns:
javax.swing.JPanel

getIvjUserName

public javax.swing.JTextField getIvjUserName()
Insert the method's description here. Creation date: (4/4/2001 7:23:00 PM)

Returns:
javax.swing.JTextField

getJFrameContentPane

public javax.swing.JPanel getJFrameContentPane()
Return the JFrameContentPane property value.

Returns:
javax.swing.JPanel

getLogin_to_KiznaMenuItem

public javax.swing.JMenuItem getLogin_to_KiznaMenuItem()
Return the Login_to_KiznaMenuItem property value.

Returns:
javax.swing.JMenuItem

getloginBtn

public javax.swing.JButton getloginBtn()
Return the JButton1 property value.

Returns:
javax.swing.JButton

getLogout_from_KiznaMenuItem

public javax.swing.JMenuItem getLogout_from_KiznaMenuItem()
Return the Logout_from_KiznaMenuItem property value.

Returns:
javax.swing.JMenuItem

getMessageText

public javax.swing.JLabel getMessageText()
Return the StatusMsg2 property value.

Returns:
javax.swing.JLabel

getMessageType

public javax.swing.JLabel getMessageType()
Return the StatusMsg1 property value.

Returns:
javax.swing.JLabel

getPassword

public javax.swing.JPasswordField getPassword()
Return the JPasswordField1 property value.

Returns:
javax.swing.JPasswordField

getServerPath

public javax.swing.JTextField getServerPath()
Return the JTextField1 property value.

Returns:
javax.swing.JTextField

getUserName

public javax.swing.JTextField getUserName()
Return the JTextField3 property value.

Returns:
javax.swing.JTextField

getWhiteBoardJMenuBar

public javax.swing.JMenuBar getWhiteBoardJMenuBar()
Insert the method's description here. Creation date: (3/29/2001 4:51:41 PM)

Returns:
javax.swing.JMenuBar

getWhiteBoardPanel

public WhiteBoardPanel getWhiteBoardPanel()
Return the WhiteBoardPane property value.

Returns:
javax.swing.JPanel

isDrawing

public boolean isDrawing()
Insert the method's description here. Creation date: (4/4/2001 1:39:17 PM)

Returns:
boolean

isErasing

public boolean isErasing()
Insert the method's description here. Creation date: (4/4/2001 1:16:04 PM)

Returns:
boolean

main

public static void main(java.lang.String[] args)
Starts the application.

Parameters:
args - an array of command-line arguments

setDrawing

public void setDrawing(boolean newDrawing)
Insert the method's description here. Creation date: (4/4/2001 1:39:17 PM)

Parameters:
newDrawing - boolean

setErasing

public void setErasing(boolean newErasing)
Insert the method's description here. Creation date: (4/4/2001 1:16:04 PM)

Parameters:
newErasing - boolean

setMessageText

public void setMessageText(javax.swing.JLabel newMessageText)
Insert the method's description here. Creation date: (4/3/2001 3:33:19 PM)

Parameters:
newMessageText - javax.swing.JLabel

showAboutBox

public void showAboutBox()

viewStatusBar

public void viewStatusBar()

getClient

public org.kizna.client.KiznaClient getClient()
Returns the client.

Returns:
KiznaClient

setClient

public void setClient(org.kizna.client.KiznaClient client)
Sets the client.

Parameters:
client - The client to set

(c) Kizna Corporation, Somik Raha 2002

Anka is an open source collaboration whiteboard released under GPL.
If you want to be notified when a new release of Anka is out, or join the developer or user group, visit Anka Mailing Lists.