cern.stopmi.OPGeneric
Class OPStatus

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.JPanel
                          |
                          +--cern.stopmi.OPGeneric.OPStatus

public class OPStatus
extends javax.swing.JPanel
implements java.beans.BeanInfo

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Field Summary
static int CANCEL_OPTION
           
static int NO_OPTION
           
static int YES_OPTION
           
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
OPStatus()
           
 
Method Summary
 void busy()
           
static void BUSY()
           
 void busy(java.lang.String message)
           
static void BUSY(java.lang.String message)
           
 void debug(java.lang.String message)
           
static void DEBUG(java.lang.String message)
           
 void error()
           
static void ERROR()
           
 void error(java.lang.String message)
           
static void ERROR(java.lang.String message)
           
 java.beans.BeanInfo[] getAdditionalBeanInfo()
           
 java.beans.BeanDescriptor getBeanDescriptor()
           
 int getDefaultEventIndex()
           
 int getDefaultPropertyIndex()
           
 OPStatus getDefaultStatus()
           
 java.beans.EventSetDescriptor[] getEventSetDescriptors()
           
 java.awt.Image getIcon(int iconKind)
           
static OPStatus getInstanceFor(javax.swing.JComponent child)
           
static OPStatus getInstanceFor(javax.swing.JFrame child)
           
 java.beans.MethodDescriptor[] getMethodDescriptors()
           
 java.beans.PropertyDescriptor[] getPropertyDescriptors()
           
static OPStatus getSharedInstance()
           
 void message(java.lang.String message)
           
static void MESSAGE(java.lang.String message)
           
 void ready()
           
static void READY()
           
 void ready(java.lang.String message)
           
static void READY(java.lang.String message)
           
 void setDefaultStatus(OPStatus s)
           
static int SIMPLE_QUESTION(java.lang.String message, javax.swing.ImageIcon icon)
           
 int simpleQuestion(java.lang.String message, javax.swing.ImageIcon icon)
           
 void startActivity()
           
 void stopActivity()
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUIClassID, paramString, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInsets, getInsets, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, isDoubleBuffered, isFocusCycleRoot, isFocusTraversable, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, processComponentKeyEvent, processFocusEvent, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setUI, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setCursor, setLayout, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hide, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processInputMethodEvent, processMouseEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setDropTarget, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CANCEL_OPTION

public static int CANCEL_OPTION

YES_OPTION

public static int YES_OPTION

NO_OPTION

public static int NO_OPTION
Constructor Detail

OPStatus

public OPStatus()
Method Detail

getDefaultEventIndex

public int getDefaultEventIndex()
Specified by:
getDefaultEventIndex in interface java.beans.BeanInfo

getBeanDescriptor

public java.beans.BeanDescriptor getBeanDescriptor()
Specified by:
getBeanDescriptor in interface java.beans.BeanInfo

getEventSetDescriptors

public java.beans.EventSetDescriptor[] getEventSetDescriptors()
Specified by:
getEventSetDescriptors in interface java.beans.BeanInfo

getPropertyDescriptors

public java.beans.PropertyDescriptor[] getPropertyDescriptors()
Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo

getDefaultPropertyIndex

public int getDefaultPropertyIndex()
Specified by:
getDefaultPropertyIndex in interface java.beans.BeanInfo

getAdditionalBeanInfo

public java.beans.BeanInfo[] getAdditionalBeanInfo()
Specified by:
getAdditionalBeanInfo in interface java.beans.BeanInfo

getIcon

public java.awt.Image getIcon(int iconKind)
Specified by:
getIcon in interface java.beans.BeanInfo

getMethodDescriptors

public java.beans.MethodDescriptor[] getMethodDescriptors()
Specified by:
getMethodDescriptors in interface java.beans.BeanInfo

getDefaultStatus

public OPStatus getDefaultStatus()

setDefaultStatus

public void setDefaultStatus(OPStatus s)

startActivity

public void startActivity()

stopActivity

public void stopActivity()

message

public void message(java.lang.String message)

MESSAGE

public static void MESSAGE(java.lang.String message)

simpleQuestion

public int simpleQuestion(java.lang.String message,
                          javax.swing.ImageIcon icon)

SIMPLE_QUESTION

public static int SIMPLE_QUESTION(java.lang.String message,
                                  javax.swing.ImageIcon icon)

busy

public void busy()

busy

public void busy(java.lang.String message)

ERROR

public static void ERROR()

ERROR

public static void ERROR(java.lang.String message)

BUSY

public static void BUSY()

BUSY

public static void BUSY(java.lang.String message)

READY

public static void READY()

READY

public static void READY(java.lang.String message)

error

public void error()

error

public void error(java.lang.String message)

ready

public void ready()

ready

public void ready(java.lang.String message)

debug

public void debug(java.lang.String message)

DEBUG

public static void DEBUG(java.lang.String message)

getInstanceFor

public static OPStatus getInstanceFor(javax.swing.JFrame child)

getInstanceFor

public static OPStatus getInstanceFor(javax.swing.JComponent child)

getSharedInstance

public static OPStatus getSharedInstance()