java.lang.Object
icecube.testdaq.display.ExitDialog
public class ExitDialog
ExitDialog creates an exit confirmation dialog whenever a user decides to exit a program.
Method Summary
|
static public void |
exit() Creates an exit dialog asking the user to confirm the exit. |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
java.swing.JLabel
icecube.testdaq.display.ColorRenderer public class ColorRenderer extends JLabel implements TableCellRenderer ColorRenderer is used to create a color table cell renderer in order to display color fields on a JTable. Constructor Summary ColorRenderer(boolean isBordered) Creates a ColorRenderer object and sets isBordered. Method Summary
|
public Component |
getTableCellRendererComponent(JTable table,Object color,boolean isSelected,boolean hasFocus,int row,int column)
Sets the background and creates the border if isBordered is true. |
Class FileListTools java.lang.Objecticecube.testdaq.display.FileListTools public class FileListTools FileListTools provides tools and methods for use in various file list tables. Method Summary
|
public static Color |
setAcc(boolean acc) Returns the color corresponding to the accessibility variable acc (green for true, red for false). |
|
public static Color |
setProgress(int number) Returns the color corresponding to the progress variable number. |
Class ExitWindow java.lang.Objectjava.awt.event.WindowAdapter
icecube.testdaq.display.ExitWindow public class ExitWindow extends WindowAdapter ExitWindow is used to monitor when the window it is listening to is closing. It calls the ExitDialog 's exit method when it detects the window is closing. Method Summary
|
public void |
windowClosing(WindowEvent e) Calls the ExitDialog's exit() method. |
Class IntegerDocument java.lang.Objectjavax.swing.text.AbstractDocument
javax.swing.text.PlainDocument
icecube.testdaq.display.IntegerDocument IntegerDocument allows only integers to be entered in a text field. Method Summary
|
public void |
iinsertString(int offset, String s, AttributeSet attributeSet) throws BadLocationException Allows only integers as input. |