com.datamessenger.awt
Class DMComponent


java.lang.Object

  |

  +--java.awt.Component

        |

        +--com.datamessenger.awt.DMComponent

Direct Known Subclasses:
DMLabel, DMSlider

public class DMComponent
extends java.awt.Component
implements ContainerContext

See Also:
Serialized Form

Inner Class Summary
 class DMComponent.DataListener
           
 
Field Summary
protected  DMComponent.DataListener adapter
           
protected  ColorScheme colors
           
protected  boolean isAdjusting
           
protected  GraphicsPane pane
           
protected  java.awt.Dimension preferredSize
           
protected  boolean selected
           
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Constructor Summary
DMComponent(long events)
           
 
Method Summary
 ColorScheme getColorScheme()
           
 java.awt.Component getComponent()
           
 GraphicsPane getGraphicsPane()
           
 java.awt.Rectangle getLayoutBounds()
           
protected  SimpleListenerList getListenerList()
           
 java.awt.Dimension getMinimumSize()
           
 java.awt.Dimension getPreferredSize()
           
 java.lang.Object getValue()
           
 void invalidate()
           
 boolean isSelected()
           
 void paint(java.awt.Graphics g)
           
 void setColorScheme(ColorScheme colors)
           
 DataCellListener setDataCell(DataCell cell)
           
 void setGraphicsPane(GraphicsPane gp)
           
 void setSelected(boolean select)
           
 void setValue(java.lang.Object obj)
           
 void update(java.awt.Graphics g)
           
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, 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, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, 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, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFont, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pane


protected GraphicsPane pane

adapter


protected DMComponent.DataListener adapter

colors


protected ColorScheme colors

isAdjusting


protected boolean isAdjusting

selected


protected boolean selected

preferredSize


protected java.awt.Dimension preferredSize
Constructor Detail

DMComponent


public DMComponent(long events)
Method Detail

setGraphicsPane


public void setGraphicsPane(GraphicsPane gp)

getMinimumSize


public java.awt.Dimension getMinimumSize()
Overrides:
getMinimumSize in class java.awt.Component

getPreferredSize


public java.awt.Dimension getPreferredSize()
Overrides:
getPreferredSize in class java.awt.Component

getGraphicsPane


public GraphicsPane getGraphicsPane()

setColorScheme


public void setColorScheme(ColorScheme colors)

getColorScheme


public ColorScheme getColorScheme()
Specified by:
getColorScheme in interface ContainerContext

getLayoutBounds


public java.awt.Rectangle getLayoutBounds()
Specified by:
getLayoutBounds in interface ContainerContext

getComponent


public java.awt.Component getComponent()
Specified by:
getComponent in interface ContainerContext

paint


public void paint(java.awt.Graphics g)
Overrides:
paint in class java.awt.Component

update


public void update(java.awt.Graphics g)
Overrides:
update in class java.awt.Component

invalidate


public void invalidate()
Specified by:
invalidate in interface ContainerContext
Overrides:
invalidate in class java.awt.Component

getValue


public java.lang.Object getValue()

setValue


public void setValue(java.lang.Object obj)

isSelected


public boolean isSelected()

setSelected


public void setSelected(boolean select)

getListenerList


protected SimpleListenerList getListenerList()

setDataCell


public DataCellListener setDataCell(DataCell cell)


Comments, suggestions, and bug reports are welcomed and encouraged.
Please refer them to our support page. Thank you.

Copyright © 1999-2001 Produx House, Corp. All rights reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc.