com.jpeterson.virtlcd.swing.ui
Class BasicDotMatrixSixByEightUI
java.lang.Object
javax.swing.plaf.ComponentUI
com.jpeterson.virtlcd.swing.ui.DotMatrixSixByEightUI
com.jpeterson.virtlcd.swing.ui.BasicDotMatrixSixByEightUI
public class BasicDotMatrixSixByEightUI
- extends DotMatrixSixByEightUI
Implementation of the "view" for actually displaying the basic LCD character.
- Author:
- Jesse Peterson
Methods inherited from class javax.swing.plaf.ComponentUI |
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dotMatrixSixByEight
protected JDotMatrixSixByEight dotMatrixSixByEight
- The associated dot matrix character.
dotMatrixSixByEightChangeListener
protected javax.swing.event.ChangeListener dotMatrixSixByEightChangeListener
PIXEL_WIDTH
protected static final int PIXEL_WIDTH
- See Also:
- Constant Field Values
PIXEL_HEIGHT
protected static final int PIXEL_HEIGHT
- See Also:
- Constant Field Values
PIXEL_INNER_WIDTH
protected static final int PIXEL_INNER_WIDTH
- See Also:
- Constant Field Values
PIXEL_INNER_HEIGHT
protected static final int PIXEL_INNER_HEIGHT
- See Also:
- Constant Field Values
NUM_PIXELS_WIDE
protected static final int NUM_PIXELS_WIDE
- See Also:
- Constant Field Values
NUM_PIXELS_HIGH
protected static final int NUM_PIXELS_HIGH
- See Also:
- Constant Field Values
WIDTH
protected static final int WIDTH
- See Also:
- Constant Field Values
HEIGHT
protected static final int HEIGHT
- See Also:
- Constant Field Values
coords
protected static java.awt.Point[][] coords
BasicDotMatrixSixByEightUI
public BasicDotMatrixSixByEightUI()
createUI
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUI
in class javax.swing.plaf.ComponentUI
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUI
in class javax.swing.plaf.ComponentUI
installDefaults
public void installDefaults()
installComponents
public void installComponents()
installListeners
public void installListeners()
uninstallDefaults
public void uninstallDefaults()
uninstallComponents
public void uninstallComponents()
uninstallListeners
public void uninstallListeners()
paint
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
- Overrides:
paint
in class javax.swing.plaf.ComponentUI
paintPixels
protected void paintPixels(java.awt.Graphics g)
createLayoutManager
protected java.awt.LayoutManager createLayoutManager()
- Invoked by
installUI
to create a layout manager object to
manage the dot matrix display.
- Returns:
- a layout manager object
Copyright © 2008 Jesse Peterson. All Rights Reserved.