Class Info

java.lang.Object
  extended by Info

public class Info
extends java.lang.Object

Info class supports updating the "Info" area on the Flicker GUI displaying messages on the status of Flicker.

This work was produced by Peter Lemkin of the National Cancer Institute, an agency of the United States Government. As a work of the United States Government there is no associated copyright. It is offered as open source software under the Mozilla Public License (version 1.1) subject to the limitations noted in the accompanying LEGAL file. This notice must be included with the code. The Flicker Mozilla and Legal files are available on http://open2dprot.sourceforge.net/Flicker

Version:
$Date$ $Revision$
Author:
P. Lemkin (LECB/NCI), G. Thornwall (SAIC), Frederick, MD
See Also:
Flicker Home

Field Summary
(package private)  Affine aff
           
(package private)  BuildGUI bGui
           
(package private)  Flicker flk
           
private  java.awt.Label info1Label
           
private  java.awt.Label info2Label
           
private  java.awt.Label info3Label
           
private  java.awt.Label info4Label
           
private  java.awt.Label info5Label
           
private  java.awt.Label info6Label
           
(package private)  Landmark lms
           
private  javax.swing.JPanel msgPanel
           
(package private)  Util util
           
 
Constructor Summary
Info(Flicker flk, javax.swing.JPanel msgPanel)
          Info() - constructor
 
Method Summary
 void setInfo1Text(java.lang.String msg)
          setInfo1Text() - set text for info1 field (used for last landmark)
 void showScrollCoords(boolean showMaxLimitFlag)
          showScrollCoords() - show the scroll bar coordinates
 void updateInfoString()
          updateInfoString() - update Flicker Info string messages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

flk

Flicker flk

aff

Affine aff

bGui

BuildGUI bGui

lms

Landmark lms

util

Util util

msgPanel

private javax.swing.JPanel msgPanel

info1Label

private java.awt.Label info1Label

info2Label

private java.awt.Label info2Label

info3Label

private java.awt.Label info3Label

info4Label

private java.awt.Label info4Label

info5Label

private java.awt.Label info5Label

info6Label

private java.awt.Label info6Label
Constructor Detail

Info

public Info(Flicker flk,
            javax.swing.JPanel msgPanel)
Info() - constructor

Parameters:
lms - is landmark set
p - is panel where we stuff it in the BuildGUI
Method Detail

updateInfoString

public void updateInfoString()
updateInfoString() - update Flicker Info string messages. This is currently done with a set of labels. NOTE: call repaint() separately - not repainted from here!


setInfo1Text

public void setInfo1Text(java.lang.String msg)
setInfo1Text() - set text for info1 field (used for last landmark)

Parameters:
msg - to display

showScrollCoords

public void showScrollCoords(boolean showMaxLimitFlag)
showScrollCoords() - show the scroll bar coordinates

Parameters:
showMaxLimitFlag - to modify the display