|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--UlvShared
this classes contains all of the common data for the ulv program and the shared static methods, it is also the class that is responsible for the maintenance of the configuration file that stores user preferences
Field Summary | |
static java.awt.Color |
abortColor
|
static boolean |
addBackButtonToHelpWindow
what to include in the help window |
static boolean |
addStatusBarToHelpWindow
|
static java.awt.Color |
axisColor
|
static java.awt.Color |
axisTextColor
|
static java.awt.Color |
axisTitleTextColor
|
static java.awt.Color |
backgroundColor
misc. |
static java.awt.Color |
badPutColor
|
static java.awt.Color |
badPutXColor
|
static int[] |
biggestZoom
|
static int[] |
bigZoom
|
static java.awt.Color |
borderColor
|
static int |
borderGap
|
static int |
BOX_HEIGHT
|
static int |
BOX_WIDTH
|
static java.awt.Color |
checkPointColor
|
static boolean |
checkPointsExist
some booleans to show which events exist in the current view |
static java.lang.String |
condorIcon
|
static java.net.URL |
currentURL
the currentURL if we're using the sample.log |
static Debugger |
DebugApplet
|
static Debugger |
DebugConfigFile
|
static Debugger |
DebugDebugger
|
static Debugger |
DebugDoubleDraw
|
static Debugger |
DebugFreeze
|
static Debugger |
DebugGetImageFile
|
static Debugger |
DebugJobSelector
|
static Debugger |
DebugJobTrimmer
|
static Debugger |
DebugLegend
|
static Debugger |
DebugMenuCheckBoxes
|
static Debugger |
DebugMultiYear
|
static Debugger |
DebugNullStartTime
|
static Debugger |
DebugParse
|
static Debugger |
DebugRecenter
|
static Debugger |
DebugRHS
|
static Debugger |
DebugScrollBars
|
static Debugger |
DebugSplashWindow
|
static Debugger |
DebugTransistions
some debuggers |
static Debugger |
DebugZoom
|
float |
defaultSecsToPixels
|
static java.awt.Color |
distinctBadPutColor
|
static java.awt.Color |
distinctUnknownStateColor
|
static boolean |
doubleAxisLines
|
static int |
Down
|
static boolean |
drawFakeLittleHelpButton
whether to draw the fake little help button |
static java.awt.Color |
errorTextColor
|
static boolean |
evictBadsExist
some booleans to show which events exist in the current view |
static java.awt.Color |
evictColor
|
static boolean |
evictGoodsExist
some booleans to show which events exist in the current view |
static java.awt.Color |
executableErrorColor
|
static java.awt.Color |
executeColor
|
static boolean |
executeErrorsExist
some booleans to show which events exist in the current view |
static boolean |
executesExist
some booleans to show which events exist in the current view |
static boolean |
expertMode
controls whether the legend and eventDescription boxes are added to main window at creation time or not |
static java.awt.Color |
flashBoxColor
|
static java.awt.Color |
flashBoxColor2
|
static int |
FullRedraw
how should drawing board redraw itself |
static java.awt.Color |
genericColor
|
static boolean |
genericsExist
some booleans to show which events exist in the current view |
static java.awt.Color |
goodPutColor
state colors |
static java.awt.Color |
goodPutPlusColor
|
static java.awt.Color |
helpButtonBoxColor
|
static java.awt.Color |
helpButtonColor
|
static java.lang.String |
helpFile
the filename of the help file |
static java.awt.Point |
helpWindowLocation
|
static java.awt.Dimension |
helpWindowSize
the help windows last start position and size |
static java.awt.Color |
idleColor
|
static java.awt.Color |
imageColor
|
static boolean |
imageSizesExist
some booleans to show which events exist in the current view |
static boolean |
inAnApplet
a boolean that shows whether the program is being run as an applet or as an application, main() turns it to false |
static java.awt.Color |
incrementMarkerColor
|
static int |
incrementMarkerHeight
axes data |
static int |
incrementMarkerWidth
|
static boolean |
jobAbortsExist
some booleans to show which events exist in the current view |
static java.awt.Point |
jobSelectorLocation
the job selector's last position |
static java.lang.String |
lastDirectory
the last directory used to open a file |
static java.lang.String |
lastModified
|
static int |
Left
|
static int |
LINE_HEIGHT
the int indexes to refer to the values in the zoom arrays |
static java.awt.Color |
lookAheadColor
|
static int |
maxJobGap
size of images |
static int |
minJobGap
|
static java.awt.Color |
notAliveColor
|
static java.lang.String |
onLineHelpURL
where to find online help |
static boolean |
openFullScreen
whether to open as totally maximized or not |
static int |
PartialRedraw
|
static java.awt.Point |
programLocation
the programs last start position and size |
static java.lang.String |
programmer
who is a trusted user |
static java.lang.String |
programName
used by the auto-upgrader which is not yet implemented |
static java.awt.Dimension |
programSize
|
static boolean |
reportParseErrors
a boolean to control whether to report parse errors |
static int |
Right
|
static java.lang.String |
sampleLogFileName
the name of the sample log file which users can view in the applet demo |
static java.awt.Color |
shadowColor
|
static boolean |
shadowsExist
some booleans to show which events exist in the current view |
static boolean |
showBothRunStates
some booleans to control what is drawn |
static boolean |
showCheckPointEvents
|
static boolean |
showCheckPoints
|
static boolean |
showErrorEvents
|
static boolean |
showEvictBads
|
static boolean |
showEvictGoods
|
static boolean |
showExecutableErrors
|
static boolean |
showExecutes
|
static boolean |
showGenerics
|
static boolean |
showImageSizes
|
static boolean |
showJobAborts
|
static boolean |
showJobSelector
does the user like a jobSelector window |
static boolean |
showShadows
|
static boolean |
showSubmits
some booleans to show which events appear |
static boolean |
showTerminates
|
static boolean |
showToolBar
does the user want the toolbar visible |
static boolean |
showUnknownPutAsBadPut
|
static boolean |
showUnknownTransistions
|
static boolean |
showZoomFinder
for flashing a quick zoom finder box |
static int[] |
smallestZoom
a couple of arrays to hold zoom settings the data represents lineHeight, boxWidth, boxHeight |
static int[] |
smallZoom
|
static java.lang.String |
splashImage
image file names |
static java.awt.Color |
submitColor
COLORS * event colors |
static boolean |
submitsExist
some booleans to show which events exist in the current view |
static java.awt.Color |
terminateColor
|
static boolean |
terminatesExist
some booleans to show which events exist in the current view |
static java.awt.Color |
textColor
|
static boolean |
transistionsStartAtExactTime
a boolean which controls whether transistions are drawn to the far left of the event box - which is exactly correct - or to the center of the event box - which may be more visually intuitive |
static java.awt.Color |
unknownPutColor
|
static java.awt.Color |
unknownStateColor
|
static int |
Up
for scrollbar adjustments |
static java.lang.String |
versionNumber
|
static int |
ZOOM_FULL
|
static int |
ZOOM_IN
how to zoom |
static int |
ZOOM_OUT
|
static int |
zoomRatio
|
Constructor Summary | |
UlvShared()
|
Method Summary | |
static void |
appletSecurityWarning()
this method warns users that they are attempting to do something in the applet that they are only allowed to do in the application |
static void |
beep()
a beeping shortcut |
static void |
errorMessage(java.lang.String error)
this method writes all error messages in the package to an error file |
static java.util.Vector |
getAllCurrentLogFiles()
a method that uses 'condor_q -global -verbose' to show all current log files in the network |
static java.lang.String |
getCurrentLogFile()
this method allows users to get the currentLogFile path or null |
static java.lang.String |
getCurrentLogFilePath()
this method allows users to get the currentLogFile |
static java.net.URL |
getHelpURL(java.lang.Class clazz)
this method returns the url of the help file |
static java.awt.Image |
getImage(java.lang.String fileName,
java.lang.Class clazz)
this method trys to find the requested image file, currently it just looks for the image file in the class directory after checking that it hasn't been passed the full path already if it can't find the image file, it returns null |
static java.net.URL |
getSampleLog(java.lang.Class clazz)
a method which returns the file holding the sample log which can be viewed in the applet demo - null if it can't find it |
static void |
loadPrefs()
this method looks for a configuration file and loads settings from it |
static void |
makeCondorIcon(javax.swing.JFrame win)
this method attempts to add a Condor Icon to a frame |
static void |
popupDebugger(java.lang.String foo)
this method pops up a window with a debug message passed |
static void |
printStackTrace()
this method prints a stack trace - useful for debugging |
static void |
rememberFile()
this method adds a file name to the list of previously opened file |
static void |
savePrefs()
this methods looks for a configuration file and saves settings to it |
static void |
setCurrentLogFile(java.io.File f)
this method allows users to set the currentLogFile |
static void |
setShowBothRunStates(boolean state)
turn showBothRunStates on or off |
static void |
setShowCheckPointEvents(boolean state)
turn showCheckPointEvents on or off |
static void |
setShowErrorEvents(boolean state)
turn show showErrorEvents on or off |
static void |
setShowEventFlags()
sets flags for showEventFlags using the DrawTheLegend checkboxes |
static void |
setShowEventFlags(boolean how)
turns off or on all showEventFlags |
static void |
setShowUnknownTransistions(boolean state)
turn showUnknownTransistions on or off |
static void |
simpleHelp()
this method displays simple help if the cool help for some reason doesn't work |
static boolean |
trustedUser()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String lastModified
public static final java.lang.String programName
public static final java.lang.String versionNumber
public static final java.awt.Color submitColor
public static final java.awt.Color executeColor
public static final java.awt.Color executableErrorColor
public static final java.awt.Color checkPointColor
public static final java.awt.Color evictColor
public static java.awt.Color goodPutPlusColor
public static final java.awt.Color badPutXColor
public static final java.awt.Color terminateColor
public static final java.awt.Color imageColor
public static final java.awt.Color shadowColor
public static final java.awt.Color abortColor
public static final java.awt.Color genericColor
public static final java.awt.Color goodPutColor
public static java.awt.Color badPutColor
public static final java.awt.Color distinctBadPutColor
public static java.awt.Color unknownPutColor
public static final boolean showUnknownPutAsBadPut
public static final java.awt.Color idleColor
public static java.awt.Color unknownStateColor
public static final java.awt.Color distinctUnknownStateColor
public static final java.awt.Color notAliveColor
public static final java.awt.Color lookAheadColor
public static final java.awt.Color backgroundColor
public static final java.awt.Color textColor
public static final java.awt.Color errorTextColor
public static final java.awt.Color axisTextColor
public static final java.awt.Color axisTitleTextColor
public static final java.awt.Color borderColor
public static final java.awt.Color axisColor
public static final java.awt.Color incrementMarkerColor
public static final java.awt.Color helpButtonColor
public static final java.awt.Color helpButtonBoxColor
public static final java.awt.Color flashBoxColor
public static final java.awt.Color flashBoxColor2
public static boolean showSubmits
public static boolean showExecutes
public static boolean showExecutableErrors
public static boolean showCheckPoints
public static boolean showEvictGoods
public static boolean showEvictBads
public static boolean showTerminates
public static boolean showImageSizes
public static boolean showShadows
public static boolean showGenerics
public static boolean showJobAborts
public static boolean showBothRunStates
public static boolean showUnknownTransistions
public static boolean showErrorEvents
public static boolean showCheckPointEvents
public static boolean submitsExist
public static boolean executesExist
public static boolean executeErrorsExist
public static boolean checkPointsExist
public static boolean evictGoodsExist
public static boolean evictBadsExist
public static boolean terminatesExist
public static boolean imageSizesExist
public static boolean shadowsExist
public static boolean genericsExist
public static boolean jobAbortsExist
public static boolean expertMode
public static boolean transistionsStartAtExactTime
public static boolean reportParseErrors
public static boolean showJobSelector
public static boolean showToolBar
public static boolean showZoomFinder
public static boolean inAnApplet
public static java.lang.String sampleLogFileName
public static java.net.URL currentURL
public static java.awt.Point programLocation
public static java.awt.Dimension programSize
public static java.awt.Dimension helpWindowSize
public static java.awt.Point helpWindowLocation
public static java.awt.Point jobSelectorLocation
public static boolean addBackButtonToHelpWindow
public static boolean addStatusBarToHelpWindow
public static java.lang.String helpFile
public static java.lang.String onLineHelpURL
public static boolean openFullScreen
public static Debugger DebugTransistions
public static Debugger DebugZoom
public static Debugger DebugNullStartTime
public static Debugger DebugParse
public static Debugger DebugMultiYear
public static Debugger DebugFreeze
public static Debugger DebugLegend
public static Debugger DebugDoubleDraw
public static Debugger DebugJobSelector
public static Debugger DebugJobTrimmer
public static Debugger DebugScrollBars
public static Debugger DebugRecenter
public static Debugger DebugSplashWindow
public static Debugger DebugGetImageFile
public static Debugger DebugApplet
public static Debugger DebugConfigFile
public static Debugger DebugRHS
public static Debugger DebugDebugger
public static Debugger DebugMenuCheckBoxes
public static java.lang.String lastDirectory
public static final int FullRedraw
public static final int PartialRedraw
public static final int Up
public static final int Down
public static final int Left
public static final int Right
public static final int ZOOM_IN
public static final int ZOOM_OUT
public static final int ZOOM_FULL
public static final int maxJobGap
public static int minJobGap
public static final int borderGap
public static final int zoomRatio
public final float defaultSecsToPixels
public static final int[] smallestZoom
public static final int[] smallZoom
public static final int[] bigZoom
public static final int[] biggestZoom
public static final int LINE_HEIGHT
public static final int BOX_WIDTH
public static final int BOX_HEIGHT
public static final java.lang.String splashImage
public static final java.lang.String condorIcon
public static final boolean drawFakeLittleHelpButton
public static int incrementMarkerHeight
public static int incrementMarkerWidth
public static final boolean doubleAxisLines
public static final java.lang.String programmer
Constructor Detail |
public UlvShared()
Method Detail |
public static void setShowEventFlags(boolean how)
public static void setShowEventFlags()
public static void setShowBothRunStates(boolean state)
public static void setShowUnknownTransistions(boolean state)
public static void setShowErrorEvents(boolean state)
public static void setShowCheckPointEvents(boolean state)
public static boolean trustedUser()
public static java.util.Vector getAllCurrentLogFiles()
public static void beep()
public static void errorMessage(java.lang.String error)
public static void makeCondorIcon(javax.swing.JFrame win)
public static java.net.URL getHelpURL(java.lang.Class clazz)
public static void simpleHelp()
public static java.awt.Image getImage(java.lang.String fileName, java.lang.Class clazz)
public static java.net.URL getSampleLog(java.lang.Class clazz)
public static void setCurrentLogFile(java.io.File f)
public static java.lang.String getCurrentLogFilePath()
public static java.lang.String getCurrentLogFile()
public static void rememberFile()
public static void appletSecurityWarning()
public static void popupDebugger(java.lang.String foo)
public static void printStackTrace()
public static void loadPrefs()
public static void savePrefs() throws java.io.IOException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |