vipratech.beans.standardbeans
Class LED

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--vipratech.awt.VCanvas
                    |
                    +--vipratech.beans.standardbeans.LED

public class LED
extends VCanvas

See Also:
Serialized Form

Fields inherited from class vipratech.awt.VCanvas
fm
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
LED()
          Constructor
 
Method Summary
 void finalize()
           
 boolean getAutoOn()
          Returns the auto toggle
 java.awt.Color getColor()
          Returns the color to be dislayed by the led.
 boolean getEnabled()
          Returns the enable toggle
 boolean getGlowing()
          Returns the color to be dislayed by the led.
 java.lang.String getKey()
          Returns the key for the component.
 int getLedSize()
          Returns the color to be dislayed by the led.
 java.awt.Dimension getMinimumSize()
          Returns the minimum size of the component.
 java.lang.String getText()
          Returns the text dislayed by the label.
 void itemStateChanged(java.awt.event.ItemEvent event)
          This method allows components that fire item events (such as checkboxes) to be wired up to this component at design time.
 void paint(java.awt.Graphics g)
          Draws the led, its border and text label.
 void propertyChange(java.beans.PropertyChangeEvent event)
          Allows this component to be wired up to vipratech.beans.standardbeans.LanguageChoice at design time.
 void setAutoOn(boolean autoOn)
          Sets the auto toggle
 void setColor(java.awt.Color color)
          Sets the color to be dislayed by the led.
 void setEnabled(boolean enabled)
          Sets the enable toggle
 void setGlowing(boolean glowing)
          Sets the color to be dislayed by the led.
 void setKey(java.lang.String key)
          Sets a key for the component.
 void setLedSize(int ledSize)
          Sets the color to be dislayed by the led.
 void setLocale(java.util.Locale locale)
           
 void setText(java.lang.String text)
          Sets the text to be dislayed by the label.
 
Methods inherited from class java.awt.Canvas
addNotify
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, contains, contains, createImage, createImage, deliverEvent, disable, dispatchEvent, doLayout, enable, enable, enableInputMethods, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getName, getParent, getPeer, getPreferredSize, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFont, setForeground, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, update, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LED

public LED()
Constructor
Method Detail

finalize

public final void finalize()

paint

public final void paint(java.awt.Graphics g)
Draws the led, its border and text label.
Overrides:
paint in class java.awt.Canvas

itemStateChanged

public final void itemStateChanged(java.awt.event.ItemEvent event)
This method allows components that fire item events (such as checkboxes) to be wired up to this component at design time.

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent event)
Allows this component to be wired up to vipratech.beans.standardbeans.LanguageChoice at design time.

setKey

public final void setKey(java.lang.String key)
Sets a key for the component. The key is used to extract a locale specific label from a key/value pair in a resource bundle.

getKey

public final java.lang.String getKey()
Returns the key for the component. The key is used to extract a locale specific label from a key/value pair in a resource bundle.

setLocale

public void setLocale(java.util.Locale locale)
Overrides:
setLocale in class java.awt.Component

setEnabled

public final void setEnabled(boolean enabled)
Sets the enable toggle
Overrides:
setEnabled in class java.awt.Component

getEnabled

public final boolean getEnabled()
Returns the enable toggle

setAutoOn

public final void setAutoOn(boolean autoOn)
Sets the auto toggle

getAutoOn

public final boolean getAutoOn()
Returns the auto toggle

setText

public final void setText(java.lang.String text)
Sets the text to be dislayed by the label.

getText

public final java.lang.String getText()
Returns the text dislayed by the label.

setColor

public final void setColor(java.awt.Color color)
Sets the color to be dislayed by the led.

getColor

public final java.awt.Color getColor()
Returns the color to be dislayed by the led.

setGlowing

public final void setGlowing(boolean glowing)
Sets the color to be dislayed by the led.

getGlowing

public final boolean getGlowing()
Returns the color to be dislayed by the led.

setLedSize

public final void setLedSize(int ledSize)
Sets the color to be dislayed by the led.

getLedSize

public final int getLedSize()
Returns the color to be dislayed by the led.

getMinimumSize

public final java.awt.Dimension getMinimumSize()
Returns the minimum size of the component.
Overrides:
getMinimumSize in class java.awt.Component

dathe@chemie.uni-leipzig.de"

http://leipzig.vernetztes-studium.de