com.BobCo.FileExplorer
Class BobCoFileExplorerGUI

com.tivoli.twg.console.TWGTaskFrame
  |
  +--com.BobCo.FileExplorer.BobCoFileExplorerGUI
All Implemented Interfaces:
java.awt.event.ActionListener, java.awt.event.ComponentListener, java.util.EventListener, com.tivoli.twg.console.TWGTaskFrameImplementor

public class BobCoFileExplorerGUI
extends com.tivoli.twg.console.TWGTaskFrame
implements java.awt.event.ActionListener

This class is extends TWGTaskFrame to provide the GUI for BobCo's file explorer. It gets instantiated and launched as appropriate by IT Director's console.


Fields inherited from class com.tivoli.twg.console.TWGTaskFrame
ATTR_GROUP, boldFont, INITIAL_HEIGHT, INITIAL_WIDTH, ivAnimationPanel, ivLastLoc, ivLastSize, ivStatusMsg, ivStatusPanel, LAST_LOC, LAST_SIZE, MAIN_CONSOLE_SHUTDOWN, PREF_GROUP, SERVER_REQUESTED_CLOSE, USER_REQUESTED_CLOSE
 
Constructor Summary
BobCoFileExplorerGUI()
          TWGTaskFrame - This is the constructor for the tasks frame.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Action handler for any menu or button actions executed.
 java.awt.Container buildView()
          Create the client pane and return it.
 java.awt.Dimension getFrameSize()
          Initial frame size to use the first time the frame is created.
 void pCleanUp()
          Routine to allow task frames to clean up.
 boolean pInit()
          Initialization routine for setting up non-gui items.
 boolean sendAsynchToServer(com.tivoli.twg.libs.Command cmd)
          A utility method to asynchronously send a command to the IT Director server.
 boolean sendToServer(com.tivoli.twg.libs.Command cmd)
          A utility method to send a command to the IT Director server.
 void serverTaskEnded()
          Notification method to allow the task frame to know when the server portion of a task has died so that it can take any appropriate action.
 boolean verifyOnClose(int cancelType)
          Routine to allow task frames to prompt the user if they should close or not.
 
Methods inherited from class com.tivoli.twg.console.TWGTaskFrame
addCloseHandler, childStateChanged, componentHidden, componentMoved, componentResized, componentShown, consoleCancel, consoleCancel, consoleStart, doSetStatusText, getBeanContext, getHelpContext, getPreferenceGroup, getPreferenceKey, getStatusIndicator, getStatusPanel, getStatusText, getTaskActivator, getTaskFrameGUIAttributes, getTaskFrameServiceNode, getTaskStatusPanel, launchTask, loadTaskFrameGUIAttributes, positionAndShow, removeCloseHandler, removeStatusField, replaceStatusPanel, saveTaskFrameGUIAttributes, serverTaskEnded, setInitialFocusedComponent, setStatusIndicator, setStatusPanel, setStatusText, setTaskActivator, setToTaskFrameGUIAttributes, startStatusIndicator, stopStatusIndicator, update, windowAttributesChanged, windowClosing
 

Constructor Detail

BobCoFileExplorerGUI

public BobCoFileExplorerGUI()
TWGTaskFrame - This is the constructor for the tasks frame.
Method Detail

pInit

public boolean pInit()
Initialization routine for setting up non-gui items.
Overrides:
pInit in class com.tivoli.twg.console.TWGTaskFrame

pCleanUp

public void pCleanUp()
Routine to allow task frames to clean up.
Overrides:
pCleanUp in class com.tivoli.twg.console.TWGTaskFrame

serverTaskEnded

public void serverTaskEnded()
Notification method to allow the task frame to know when the server portion of a task has died so that it can take any appropriate action.

verifyOnClose

public boolean verifyOnClose(int cancelType)
Routine to allow task frames to prompt the user if they should close or not. Return true to close the frame, return false to stop the frame from closing.
Overrides:
verifyOnClose in class com.tivoli.twg.console.TWGTaskFrame
Following copied from class: com.tivoli.twg.console.TWGTaskFrame
Returns:
Return true to close the frame, otherwise return false to stop the frame from closing.

buildView

public java.awt.Container buildView()
Create the client pane and return it.
Overrides:
buildView in class com.tivoli.twg.console.TWGTaskFrame

getFrameSize

public java.awt.Dimension getFrameSize()
Initial frame size to use the first time the frame is created. Subsequent invocations of the same console will use the cached value (which may be different if the user resized the window.
Overrides:
getFrameSize in class com.tivoli.twg.console.TWGTaskFrame

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Action handler for any menu or button actions executed.
Specified by:
actionPerformed in interface java.awt.event.ActionListener

sendToServer

public boolean sendToServer(com.tivoli.twg.libs.Command cmd)
A utility method to send a command to the IT Director server. The command should already be completely initialized.
Parameters:
cmd - the Command to send to the server.
Returns:
boolean true if no errors were encountered during the SendCommand()

sendAsynchToServer

public boolean sendAsynchToServer(com.tivoli.twg.libs.Command cmd)
A utility method to asynchronously send a command to the IT Director server. The command should already be completely initialized.
Parameters:
cmd - the Command to send to the server.
Returns:
boolean true if no errors were encountered during the SendAsynchCommand()