Synergy Home Page

au.edu.swin.synergy.plugin.mod13.event
Class BAddStatusCE

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--au.edu.swin.synergy.kernel.BCommandEvent
              |
              +--au.edu.swin.synergy.plugin.mod13.event.BWindowCE
                    |
                    +--au.edu.swin.synergy.plugin.mod13.event.BAddStatusCE
Direct Known Subclasses:
BRemoveStatusCE

public class BAddStatusCE
extends BWindowCE

Use this event when you wish to add a panel to the status bar. When passing a JPanel into this, you should keep a reference to it to update it. It will be resized vertically so don't put anything that requires a great height on here.

Author:
Tristan Austin Please complete these missing tags
Copyright Belongs To:
 
See Also:
Serialized Form

Fields inherited from class au.edu.swin.synergy.kernel.BCommandEvent
connectionID, index, kBroadcast, kClient, kClientDone, kLocal, kServer, kServerDone, networkStatus, serialVersionUID
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BAddStatusCE(Object source, JPanel fPanel)
          Creates a new add status event with the given panel to place on the status bar.
BAddStatusCE(Object source, JPanel fPanel, int priority)
          Creates a new add status event with the given panel to place on the status bar.
 
Method Summary
 JPanel getPanel()
          Gets the panel to add to the status bar Please complete the missing tags for getPanel
 int getPriority()
          Gets the priority of this status component
 
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent
decrementThreadCount, doComplete, doInit, getAutoComplete, getCompletionObject, getCompletionStatus, getConnectionID, getIndex, getNetworkStatus, getPipe, getUndoable, setAutoComplete, setCompletionObject, setCompletionStatus, setConnectionID, setIndex, setNetworkStatus, setPipe, setThreadCount, setUndoable
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BAddStatusCE

public BAddStatusCE(Object source,
                    JPanel fPanel)
Creates a new add status event with the given panel to place on the status bar.
Parameters:
source - The creator of the event
fPanel - The panel to place on the status bar Please complete the missing tags for BAddStatusCE

BAddStatusCE

public BAddStatusCE(Object source,
                    JPanel fPanel,
                    int priority)
Creates a new add status event with the given panel to place on the status bar.
Parameters:
source - The creator of the event
fPanel - The panel to place on the status bar
priority - The priority of the component, the higher the lefter and vice versa (negative values are valid)
Method Detail

getPanel

public JPanel getPanel()
Gets the panel to add to the status bar Please complete the missing tags for getPanel
Parameters:
-  
Returns:
 
Pre Condition:
 
Post Condition:
 

getPriority

public int getPriority()
Gets the priority of this status component

Synergy Home Page