|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
wt.clients.scheduler.SchedPanel
Nested Class Summary | |
(package private) class |
SchedPanel.SymAction
|
(package private) class |
SchedPanel.SymItem
|
Nested classes inherited from class java.awt.Panel |
Panel.AccessibleAWTPanel |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
private ResourceBundle |
_beanRB
|
private ThreadGroup |
_contextGroup
|
(package private) HelpContext |
_helpContext
|
(package private) HelpSystem |
_helpSystem
|
private Hashtable |
_schedItems
|
private static String |
BEAN_RESOURCE
|
(package private) Panel |
buttPanel
|
(package private) symantec.itools.awt.LabelButton |
cancelButt
|
(package private) symantec.itools.awt.LabelButton |
createButt
|
private Font |
crossLocaleFont
|
private ResourceBundle |
dateQueryRB
|
(package private) symantec.itools.awt.LabelButton |
deleteButt
|
private QuerySpec |
filter
|
private String |
format
|
private boolean |
hasArgs
|
static int |
IMMED_ONCE
|
private String |
itemDescription
|
private String |
itemName
|
(package private) symantec.itools.awt.LabelButton |
logButt
|
private String |
logRB
Resource bundle where the log files for the log screen can be found. |
private int |
mode
|
private String |
queueName
|
(package private) symantec.itools.awt.LabelButton |
refreshButt
|
(package private) WTMultiList |
schedList
|
private String |
schedRB
|
private String |
targetMethod
|
static int |
TIME_PERIODIC
|
(package private) symantec.itools.awt.LabelButton |
updateButt
|
(package private) symantec.itools.awt.LabelButton |
viewButt
|
Fields inherited from class java.awt.Panel |
|
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 java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
SchedPanel()
|
Method Summary | |
void |
addHelpListener(PropertyChangeListener pcl)
Method addHelpListener adds the given listener to be notified
of PropertyChangeEvents in the help system. |
private void |
addListItems()
|
(package private) void |
cancelButt_ActionPerformed(ActionEvent event)
|
private String |
computeArgDisplayName(Class[] params)
Process the parameters to find the display name for the first argument of the method. |
String |
computeClassName()
|
private Method |
computeMethod()
get the targetMethod Method object. |
String |
computeMethodName()
|
private void |
computeNextTime(Timestamp time,
long row)
|
(package private) void |
createButt_ActionPerformed(ActionEvent event)
|
private int |
defaultColumnSize(int numCols)
|
(package private) void |
deleteButt_ActionPerformed(ActionEvent event)
|
private void |
enableWidgets()
|
private Enumeration |
fetchItems()
|
void |
fillList()
|
private WTContext |
getContext()
|
HelpContext |
getHelpContext()
Gets the HelpContext instance associated with this screen., This method is public by Windchill convention |
HelpSystem |
getHelpSystem()
Gets the HelpSystem instance associated with this screen. |
String |
getItemDescription()
|
String |
getItemName()
|
private String |
getLastCode(ScheduleItem theItem)
|
private String |
getLastStatus(ScheduleItem theItem)
|
private SchedStatusInfo |
getLastStatusEntry(ScheduleItem theItem)
|
private ScheduleItem |
getListItem(int row)
|
String |
getLogRB()
|
int |
getMode()
|
private Long |
getObjID(WTObject obj)
Utility function which fetches an object ID given a WTObject |
String |
getQueueName()
|
String |
getSchedRB()
|
String |
getTargetMethod()
|
private void |
initHeadings()
|
private void |
initHelpSystem()
Initializes the help system. |
private void |
initializeHelp()
This function should be the last thing called in the ctor. |
private boolean |
isCurrentSelectionActive()
|
private boolean |
isItemRunning(ScheduleItem theItem)
|
private void |
localize()
|
(package private) void |
logButt_ActionPerformed(ActionEvent event)
|
private String |
periodicityToString(long secs)
|
(package private) void |
refreshButt_ActionPerformed(ActionEvent event)
|
void |
refreshList()
|
void |
removeHelpListener(PropertyChangeListener pcl)
Method RemoveHelpListener removes a listener which was
notified of PropertyChangeEvents in the help system. |
QuerySpec |
retrieveFilter()
The contents of the MultiList are governed by the filter. |
(package private) void |
schedList_actionPerformed(ActionEvent event)
|
(package private) void |
schedList_itemPerformed(ItemEvent event)
|
private void |
setContext(boolean contextOn)
|
void |
setItemDescription(String descr)
|
void |
setItemName(String name)
|
void |
setLogRB(String rb)
|
void |
setMode(int mode)
|
void |
setQueueName(String queue)
|
void |
setschedRB(String rb)
|
void |
setTargetMethod(String method)
|
void |
specifyFilter(QuerySpec filter)
Customizers may programatically set the filter to be used by the application. |
private void |
stopHelp()
stopHelp should be called every time the window gets closed. |
(package private) void |
updateButt_ActionPerformed(ActionEvent event)
|
(package private) void |
viewButt_ActionPerformed(ActionEvent event)
|
Methods inherited from class java.awt.Panel |
addNotify, getAccessibleContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int IMMED_ONCE
public static final int TIME_PERIODIC
private ThreadGroup _contextGroup
private static final String BEAN_RESOURCE
private ResourceBundle _beanRB
private Font crossLocaleFont
private Hashtable _schedItems
private String targetMethod
private String queueName
private String itemName
private String itemDescription
private int mode
private boolean hasArgs
private String logRB
private String schedRB
private QuerySpec filter
private ResourceBundle dateQueryRB
private String format
HelpSystem _helpSystem
HelpContext _helpContext
WTMultiList schedList
Panel buttPanel
symantec.itools.awt.LabelButton refreshButt
symantec.itools.awt.LabelButton createButt
symantec.itools.awt.LabelButton viewButt
symantec.itools.awt.LabelButton updateButt
symantec.itools.awt.LabelButton deleteButt
symantec.itools.awt.LabelButton logButt
symantec.itools.awt.LabelButton cancelButt
Constructor Detail |
public SchedPanel()
Method Detail |
public QuerySpec retrieveFilter()
public void specifyFilter(QuerySpec filter)
retrieveFilter
public void setMode(int mode)
public int getMode()
public String getTargetMethod()
public void setTargetMethod(String method)
public String computeMethodName()
public String computeClassName()
public void setQueueName(String queue)
public String getQueueName()
public void setschedRB(String rb)
public String getSchedRB()
public void setLogRB(String rb)
public String getLogRB()
public void setItemName(String name)
public String getItemName()
public void setItemDescription(String descr)
public String getItemDescription()
public void refreshList()
refreshList
in interface RefreshListener
private void localize()
private void initHeadings() throws MissingResourceException, WTException
MissingResourceException
WTException
private int defaultColumnSize(int numCols)
private Method computeMethod() throws ClassNotFoundException
ClassNotFoundException
private String computeArgDisplayName(Class[] params) throws InstantiationException, IllegalAccessException, WTIntrospectionException
InstantiationException
IllegalAccessException
WTIntrospectionException
private void addListItems()
private String getLastCode(ScheduleItem theItem)
private SchedStatusInfo getLastStatusEntry(ScheduleItem theItem)
private String getLastStatus(ScheduleItem theItem)
private Long getObjID(WTObject obj)
public void fillList()
private void computeNextTime(Timestamp time, long row)
private void enableWidgets()
private boolean isCurrentSelectionActive()
private Enumeration fetchItems() throws QueryException, WTException
QueryException
WTException
private String periodicityToString(long secs)
private WTContext getContext()
private void setContext(boolean contextOn)
private void initializeHelp()
public void addHelpListener(PropertyChangeListener pcl)
addHelpListener
adds the given listener to be notified
of PropertyChangeEvents
in the help system. Tool description
PropertyChangeEvents
are generated when the user mouses over
the buttons and list of ContentItems
in this panel. The
given listener will be notified of those events.
pcl
- The PropertyChangeListener
to be notified of
PropertyChangeEvents
generated by the help system.HelpSystem
,
HelpContext
,
PropertyChangeListener
public void removeHelpListener(PropertyChangeListener pcl)
RemoveHelpListener
removes a listener which was
notified of PropertyChangeEvents
in the help system. If the
given listener is not listening to me, no change is made.
pcl
- The PropertyChangeListener
to be notified of PropertyChangeEvents
generated by the help system.PropertyChangeListener
public HelpContext getHelpContext()
public HelpSystem getHelpSystem()
private void initHelpSystem()
private void stopHelp()
void createButt_ActionPerformed(ActionEvent event)
void logButt_ActionPerformed(ActionEvent event)
private ScheduleItem getListItem(int row)
void deleteButt_ActionPerformed(ActionEvent event)
void viewButt_ActionPerformed(ActionEvent event)
private boolean isItemRunning(ScheduleItem theItem)
void updateButt_ActionPerformed(ActionEvent event)
void refreshButt_ActionPerformed(ActionEvent event)
void cancelButt_ActionPerformed(ActionEvent event)
void schedList_actionPerformed(ActionEvent event)
void schedList_itemPerformed(ItemEvent event)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |