wt.clients.scheduler
Class GenericLogView
java.lang.Object
java.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
wt.clients.scheduler.GenericLogView
- All Implemented Interfaces:
- Accessible, ImageObserver, MenuContainer, Serializable
- public class GenericLogView
- extends Frame
- See Also:
- Serialized Form
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 |
|
Methods inherited from class java.awt.Frame |
finalize, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, 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, processWindowEvent, 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, addImpl, 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, remove, removeAll, removeContainerListener, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, show, size, toString, transferFocus, transferFocusUpCycle |
_contextGroup
ThreadGroup _contextGroup
_theInfo
private GenericLogInfo _theInfo
_rb
private ResourceBundle _rb
format
private String format
_helpContext
private HelpContext _helpContext
_helpSystem
private HelpSystem _helpSystem
fComponentsAdjusted
boolean fComponentsAdjusted
historyList
WTMultiList historyList
closeButt
Button closeButt
logLab
Label logLab
statusBar1
symantec.itools.awt.StatusBar statusBar1
GenericLogView
public GenericLogView()
GenericLogView
private GenericLogView(String title)
GenericLogView
public GenericLogView(GenericLogInfo theInfo,
String timeFormat)
localize
private void localize()
setHeadings
private void setHeadings()
fillList
private void fillList()
formatStatString
private String formatStatString(StatusInfo stat)
convertTimestamp
private String convertTimestamp(Timestamp timeIn)
- Convert timestamp to a localized format
setVisible
public void setVisible(boolean b)
- Shows or hides the component depending on the boolean flag b.
- Parameters:
b
- if true, show the component; otherwise, hide the component.- See Also:
Component.isVisible()
main
public static void main(String[] args)
addNotify
public void addNotify()
GenericLogView_WindowClosing
void GenericLogView_WindowClosing(WindowEvent event)
closeButt_ActionPerformed
void closeButt_ActionPerformed(ActionEvent event)
getContext
private WTContext getContext()
- Returns the appropriate
WTContext
which corresponds
to this frame. This method first tries to retrieve the WTContext
by using the ThreadGroup
saved when this frame was
constructed. If the ThreadGroup is null, this method uses the default
getContext()
method to retrieve a WTContext.
- Returns:
- the
WTContext
object associated with this
frame - See Also:
WTContext
setContext
private void setContext(boolean contextOn)
initializeHelp
private void initializeHelp()
- This function should be the last thing called in the
ctor. It initializes the help system, and adds the components
the help system will listen for mouse over events to.
getHelpContext
public HelpContext getHelpContext()
- Gets the HelpContext instance associated with this screen.,
This method is public by Windchill convention
getHelpSystem
public HelpSystem getHelpSystem()
- Gets the HelpSystem instance associated with this screen.
Windchill convention says that this function should be public.
initHelpSystem
private void initHelpSystem()
- Initializes the help system.
newHelpListener
private PropertyChangeListener newHelpListener()
- newHelpListener
This function adds a listener to respond to the component mouse over events.
It updates the status bar everytime the mouse passes over one of the buttons.
stopHelp
private void stopHelp()
- stopHelp should be called every time the window gets closed.
helpButt_MouseReleased
void helpButt_MouseReleased(MouseEvent event)