Serialized Form


Package O2Plib.gui

Class O2Plib.gui.PopupDialogQuery extends java.awt.Dialog implements Serializable

serialVersionUID: 0L

Serialized Fields

data

java.lang.String data
for returning data back to caller


colSize

int colSize
# of columns to display


frame

java.awt.Frame frame
popup frame instance


textField

java.awt.TextField textField
place text to be edited here


label

java.awt.Label label
for data label


optionPanel

java.awt.Panel optionPanel
for options


optionChoice

java.awt.Choice optionChoice
opt. option choice list


addButtonsCnt

int addButtonsCnt
# of buttons to add. if 0, then none, if 1, then add CONTINUE, if 2 then add OK and CANCEL.


alertDone

boolean alertDone
button pressed flag


sleepFlag

boolean sleepFlag
wait for button to be pushed


listener

java.awt.event.ActionListener listener
Tried this instead of "this"


spaces

java.lang.String spaces
DEF_COL_SIZE spaces


optionValues

java.lang.String[] optionValues
list of option values if present


nOptions

int nOptions
optionValues[0:nOptions]

Class O2Plib.gui.PopupFileDialog extends java.awt.Frame implements Serializable

serialVersionUID: 0L

Serialized Fields

fileDialog

java.awt.FileDialog fileDialog
for use in popup FileDialog

Class O2Plib.gui.PopupHTMLbrowser extends java.awt.Frame implements Serializable

serialVersionUID: 0L

Class O2Plib.gui.PopupNameListSelectorDialog extends java.awt.Dialog implements Serializable

serialVersionUID: 0L

Serialized Fields

scrPane

java.awt.ScrollPane scrPane
Scroll pane to hold the panel


stuffPanel

java.awt.Panel stuffPanel
Panel to put "stuff" and will be put into ScrollPane


checkBoxPanel

java.awt.Panel checkBoxPanel

nameListCB

java.awt.Checkbox[] nameListCB
[0:nNames-1] checkboxes


controlPanel

java.awt.Panel controlPanel
button box control panel


names

java.lang.String[] names
list of all names to select from


nNames

int nNames
# of all names


selectedNames

java.lang.String[] selectedNames
list of previously selected names selected. The list is also used to track selected or deselected names.


nSelectedNames

int nSelectedNames
# of all samples


sortedNamesIdx

int[] sortedNamesIdx
index list of names sorted alphabetically by names[0:nNames-1]


validDataFlag

boolean validDataFlag

doneFlag

boolean doneFlag

readOnlyFlag

boolean readOnlyFlag

atMostOneFlag

boolean atMostOneFlag

Class O2Plib.gui.PopupOptions extends java.awt.Frame implements Serializable

serialVersionUID: 0L

Serialized Fields

projDir

java.lang.String projDir
project directory


VIEW_WIDTH

int VIEW_WIDTH
Size of the frame


VIEW_HEIGHT

int VIEW_HEIGHT

THICKNESS

int THICKNESS

MAX_TEXT_FIELD_WIDTH

int MAX_TEXT_FIELD_WIDTH

MAX_CHOICES

int MAX_CHOICES

MAX_SLIDERS

int MAX_SLIDERS

scrPane

java.awt.ScrollPane scrPane
Scroll pane to hold the panel


stuffPanel

java.awt.Panel stuffPanel
Panel to put "stuff" and will be put into ScrollPane


checkBoxPanel

java.awt.Panel checkBoxPanel

controlPanel

java.awt.Panel controlPanel

sliderPanel

java.awt.Panel sliderPanel

helpTextArea

java.awt.TextArea helpTextArea
Text area for help for individual switch entries


dataCheckbox

java.awt.Checkbox[] dataCheckbox
Left [0:nData-1] checkboxes


nChoices

int nChoices
# of choices


dataChoice

java.awt.Choice[] dataChoice
Left [0:nChoices-1] Choices


dataChoiceSwitchIdx

int[] dataChoiceSwitchIdx
Left [0:nChoices-1] is the index of corresponding switch option


dataChoiceVarNbr

int[] dataChoiceVarNbr
Left [0:nChoices-1] is the variable number for this choice


nSliders

int nSliders
# of slider Scrollbar


dataSlider

java.awt.Scrollbar[] dataSlider
Right [0:nSliders-1] Sliders


dataSliderMin

int[] dataSliderMin
Right [0:nSliders-1] is the Minimum scroller value


dataSliderMax

int[] dataSliderMax
Right [0:nSliders-1] is the Maximum scroller value


dataSliderScale

float[] dataSliderScale
Right [0:nSliders-1] is the scale factor to map back to user space


dataSliderPrecision

int[] dataSliderPrecision
Right [0:nSliders-1] is the precision in format statement 0 means cvi2s() else cvf2s(,precision)


dataSliderSwitchIdx

int[] dataSliderSwitchIdx
Right [0:nSliders-1] is the index of the corresponding switch option


dataSliderVarNbr

int[] dataSliderVarNbr
Right [0:nSliders-1] is the variable number for this Slider


dataSliderText

java.lang.String[] dataSliderText
Right [0:nSliders-1] is the text label associated with this Slider


dataSliderLabel

java.awt.Label[] dataSliderLabel
Right [0:nSliders-1] is the Label associated with this Slider


dataFileDButton

java.awt.Button[] dataFileDButton
Left [0:nData-1] File dialog buttons


dataDirDButton

java.awt.Button[] dataDirDButton
Left [0:nData-1] Directory dialog buttons


dataLabel

java.awt.Label[] dataLabel
Left [0:nData-1] labels if not using checkbox


dataTextField

java.awt.TextField[] dataTextField
Right [0:nData-1] TextFields if used


textFontFamily

java.lang.String textFontFamily
text font family


textFontSize

int textFontSize
font size


textFont

java.awt.Font textFont
text font


nData

int nData
# of data items


promptData

java.lang.String[] promptData
Prompt data [0:nData-1] has a "-", then make a CheckBox, else a Label with the data. If it is a CheckBox, use default value


userData

java.lang.String[] userData
Prompt user data [0:nData-1] if not null, then make a TextField with this data on the right else empty Label.


changedUserData

java.lang.String[] changedUserData
Changed user data [0:nData-1] if not null, then make a TextField with this data on the right else empty Label.


guiBuilderSpec

java.lang.String[] guiBuilderSpec
Gui Builder Spec data [0:nData-1] if not "".
 Use of the guiBuilderSpec
 -------------------------
 If the guiBuilderSpec has a "#", then it is a file browser.
 If the guiBuilderSpec has a "$", then it is a directory browser.
 If the guiBuilderSpec has a
   "@1Text[min,max,scale,precision],@2Text[min,max,scale,precision],@3...", 
    then it is set of Sliders
 If the guiBuilderSpec has a "{A|B|C...Z}1,{A|B|C...Z}2,...",
    then it is set of Choices (i.e., between the {...}


helpData

java.lang.String[] helpData
Prompt help data [0:nData-1] if not null, then make a TextField with this data on the right else empty Label.


resetStatusData

boolean[] resetStatusData
Default checkbox data [0:nData-1] is set by analyzing the switches. If a switch j is "-noXXXX", then set resetStatusData[j] to false and set the promptData[j] to "-XXXX" else set resetStatusData[j] to true.


statusData

boolean[] statusData
The values set initially to resetStatusData[] and then modified by the user.


fileDBPrompt

java.lang.String[] fileDBPrompt
The file browswer button prompt list [0:nFileDBPrompt-1] but allocated [0:nData-1]. Data is "Browse: '"+promptData[i].substring(1)+"'";


fileDBindex

int[] fileDBindex
The index of dataXXX[index] associated with the file browswer button prompt list fileDBindex[].


nFileDBPrompt

int nFileDBPrompt
# of active fileDBindex[] prompts


dirDBPrompt

java.lang.String[] dirDBPrompt
The file browswer button prompt list [0:nDirDBPrompt-1] but allocated [0:nData-1]. Data is "Browse: '"+promptData[i].substring(1)+"'";


dirDBindex

int[] dirDBindex
The index of dataXXX[index] associated with the file browswer button prompt list dirDBPrompt[].


nDirDBPrompt

int nDirDBPrompt
# of active dirDBPrompt[] prompts


title

java.lang.String title
Title for popup


setNewDefaultFlag

boolean setNewDefaultFlag
pressed "Done"


cancelFlag

boolean cancelFlag
pressed Cancel

Class O2Plib.gui.PopupTableEditDialog extends java.awt.Dialog implements Serializable

serialVersionUID: 0L

Serialized Fields

title

java.lang.String title
Title of Table being edited.


tbl

Table tbl
Table being edited.


tblName

java.lang.String tblName
Table name for use in the title


editType

java.lang.String editType
Type of editing being performed


rowToEdit

int rowToEdit
Row to edit in the table


changeGuiFlag

boolean changeGuiFlag
flag to indicating that the GUI may have changed and that it should be rebuilt.


VIEW_WIDTH

int VIEW_WIDTH
Width of the frame


VIEW_HEIGHT

int VIEW_HEIGHT
Height of the frame


MAX_TEXT_FIELD_WIDTH

int MAX_TEXT_FIELD_WIDTH

editPane

java.awt.ScrollPane editPane
Scrollable edit pane that holds the gridPanel


gridPanel

java.awt.Panel gridPanel
Where put the grid of (Label,TextField) name value pairs


controlPanel

java.awt.Panel controlPanel
Control panel for the main frame


aH

java.awt.Adjustable aH
Scroll pane to hold the Name-Value scrollable panel


aV

java.awt.Adjustable aV

msgTextArea

java.awt.TextArea msgTextArea
Text area GUI for message rporting


textAreaFontSize

int textAreaFontSize
font size


textFontFamily

java.lang.String textFontFamily
font family for message window


fontFamily

java.lang.String fontFamily

smallFont

java.awt.Font smallFont

mediumFont

java.awt.Font mediumFont

largeFont

java.awt.Font largeFont

textFieldFont

java.awt.Font textFieldFont

nData

int nData
# of name-value pair data items


fieldNameData

java.lang.String[] fieldNameData
FieldName data [0:nData-1] has a Label with the data.


helpData

java.lang.String[] helpData
Optional help data [0:nData-1] if not null, then this is info on the corresponding fieldNameData.


valueData

java.lang.String[] valueData
Value user data [0:nData-1] for a TextField with this data on the right


valueDataOrig

java.lang.String[] valueDataOrig
Original Value user data [0:nData-1] for a TextField with this data on the right. This is used for "Restore data". Once the data has been shifted to the next row, this data is no longer valid.


changedValueData

java.lang.String[] changedValueData
Changed user data [0:nData-1] if not null, then make a TextField with this data on the right else empty Label.


dataLabel

java.awt.Label[] dataLabel
Left [0:nData-1] labels if not using checkbox


dataTextField

java.awt.TextField[] dataTextField
Right [0:nData-1] TextFields if used


isVisibleFlag

boolean isVisibleFlag
Set true if window is visible


changedTableFieldsDataFlag

boolean changedTableFieldsDataFlag
Flag indicating that the data fields were edited


doneFlag

boolean doneFlag
Flag indicating that the editing is finished.


readOnlyFlag

boolean readOnlyFlag
Flag indicating that table is read only


useTemplateCB

java.awt.Checkbox useTemplateCB
the "Use template" checkbox


useTemplateFlag

boolean useTemplateFlag
set from "Use template" checkbox


viewWidth

int viewWidth

viewHeight

int viewHeight

Class O2Plib.gui.PopupTextFieldDialog extends java.awt.Dialog implements Serializable

serialVersionUID: 0L

Serialized Fields

f

java.awt.Frame f
Frame where dialog box is added


msg

java.lang.String msg
Message to display


answer

java.lang.String answer
Returned value from text field


okFlag

boolean okFlag
Returned true if pressed DONE


tf

java.awt.TextField tf
text field

Class O2Plib.gui.PopupYesNoDialogBox extends java.awt.Dialog implements Serializable

serialVersionUID: 0L

Serialized Fields

msg

java.lang.String msg
Message for dialog box


yesMsg

java.lang.String yesMsg
Yes label for dialog box


noMsg

java.lang.String noMsg
No label for dialog box


cancelMsg

java.lang.String cancelMsg
Cancel label for dialog box


okFlag

boolean okFlag
flag set by the yes button (no or cancel button set to false)


cancelFlag

boolean cancelFlag
flag set by cancel button


Package O2Plib.image

Class O2Plib.image.ScrollableImage extends javax.swing.JPanel implements Serializable

serialVersionUID: 0L

Serialized Fields

NEVER

boolean NEVER
NEVER and CONSOLE_FLAG - debugging variables - must not be final!


CONSOLE_FLAG

boolean CONSOLE_FLAG

PIXEL_RULERS

boolean PIXEL_RULERS
FUTURE: To display rulers with pixel size in JScrollPane


displayImg

java.awt.Image displayImg
image to display, can be zoomed


origImg

java.awt.Image origImg
original image


offScreenImg

java.awt.Image offScreenImg
image for double buffer TODO: should be able to draw offscreen


centerPt

java.awt.Point centerPt
center point


viewPortSize

java.awt.Dimension viewPortSize
dimensions of the view port


xCtr

int xCtr
center coords of image, for zoom/dezoom


yCtr

int yCtr
center coords of image, for zoom/dezoom


curPos

java.awt.Point curPos
current position of scrollers


xObj

int xObj
image address (x,y)+(xBase,yBase)


yObj

int yObj
image address (x,y)+(xBase,yBase)


xImg

int xImg
image address (x,y)+(xBase,yBase)


yImg

int yImg
image address (x,y)+(xBase,yBase)


zoomValue

int zoomValue
zoom/magnification value


curPixHeight

int curPixHeight
pixel height


curPixWidth

int curPixWidth
pixel width


origPixHeight

int origPixHeight
original pixel height


origPixWidth

int origPixWidth
pixel width


oldScrollerWidth

int oldScrollerWidth
for calc Scroller Positions width


oldScrollerHeight

int oldScrollerHeight
for calc Scroller Positions height


scrollPaneWidth

int scrollPaneWidth
width of image scroller


scrollPaneHeight

int scrollPaneHeight
height of image scroller


preferedSize

java.awt.Dimension preferedSize
preferred size of canvas


preferredWidth

int preferredWidth
preferred size of canvas


preferredHeight

int preferredHeight
preferred size of canvas


viewWidth

int viewWidth

viewHeight

int viewHeight

ctrlMod

boolean ctrlMod
CTRL/Mouse


shiftMod

boolean shiftMod
SHIFT/Mouse


ctrlShiftMod

boolean ctrlShiftMod
CTRL-SHIFT/Mouse


altMod

boolean altMod
ALT/Mouse


tickFlagULHC

boolean tickFlagULHC
paint upper lt hand corner


tickFlagLRHC

boolean tickFlagLRHC
paint lower rt hand corner


xBase

int xBase
+ base address of ULHC of clipped image in image canvas used in last paint


yBase

int yBase

imagePanel

ScrollableImage.ImageCanvas imagePanel
actual object to be displayed


scrollPos

java.awt.Point scrollPos
keep track of Scroller Positions


jsp

javax.swing.JScrollPane jsp
Scroll pane to hold the image


util

Util util
for misc methods


columnView

ScrollableImage.Rule columnView
column pixel size rulers


rowView

ScrollableImage.Rule rowView
row pixel size rulers


parentObj

java.lang.Object parentObj
pass parent instance down


internalZoomButtonsFlag

boolean internalZoomButtonsFlag
FUTURE: special internal buttons for zoom


scrollerFlag

boolean scrollerFlag
create w/ scrollers


maxHorOld

int maxHorOld

maxVertOld

int maxVertOld

hPosOld

int hPosOld
old horizontal position


vPosOld

int vPosOld
old vertical position