|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
org.eclipse.soda.dk.matrix.lcd.simulator.view.AbstractPanelWithBackground
org.eclipse.soda.dk.matrix.lcd.simulator.view.LcdDisplayPanel
public class LcdDisplayPanel
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Panel |
|---|
java.awt.Panel.AccessibleAWTPanel |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface org.eclipse.soda.dk.matrix.lcd.simulator.view.interfaces.LcdDisplayPanelConstants |
|---|
DEFAULT_BUFFER_CONTENTS, DISPLAY_SIZE, EMPTY_BUFFER_CONTENTS, L1_END_INDEX, L1_START_INDEX, L1H, L1W, L1X, L1Y, L2_END_INDEX, L2_START_INDEX, L2H, L2W, L2X, L2Y, LCD_HEIGHT, LCD_LIT_COLOR, LCD_UNLIT_COLOR, LCD_WIDTH, MONO, OFF_SRC, ON_SRC |
| Fields inherited from interface org.eclipse.soda.dk.matrix.lcd.simulator.view.interfaces.Constants |
|---|
IMGROOT, PANEL_HEIGHT, PANEL_WIDTH, WORKING_DIR |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
LcdDisplayPanel()
Constructs an instance of this class. |
|
| Method Summary | |
|---|---|
void |
clearText()
Clear text. |
void |
decrementCursorPosition()
Decrement cursor position. |
protected java.awt.Image |
getBacklightOffImage()
Gets the backlight off image (Image) value. |
protected java.awt.Image |
getBacklightOnImage()
Gets the backlight on image (Image) value. |
protected java.lang.StringBuffer |
getBuffer()
Gets the buffer (StringBuffer) value. |
protected int |
getCursorPosition()
Gets the cursor position (int) value. |
void |
incrementCursorPosition()
Increment cursor position. |
protected void |
initialize()
Initialize. |
protected boolean |
isPrintableCharacter(byte c)
Is printable character with the specified c parameter and return the boolean result. |
protected void |
populate()
Populate. |
protected void |
populateLabels()
Populate labels. |
void |
printCharacter(byte charToPrint)
Print character with the specified char to print parameter. |
protected void |
printCharacter(byte charToPrint,
boolean refresh)
Print character with the specified char to print and refresh parameters. |
void |
printString(java.lang.String string)
Print string with the specified string parameter. |
void |
sendCursorToPosition(int x,
int y)
Send cursor to position with the specified x and y parameters. |
protected void |
setBacklightOffImage(java.awt.Image image)
Sets the backlight off image value. |
protected void |
setBacklightOnImage(java.awt.Image image)
Sets the backlight on image value. |
protected void |
setBuffer(java.lang.StringBuffer bs)
Sets the buffer value. |
protected void |
setBufferContents(java.lang.StringBuffer bs)
Sets the buffer contents value. |
protected void |
setCursorPosition(int i)
Sets the cursor position value. |
void |
showDefaultText()
Show default text. |
void |
turnOffBacklight()
Turn off backlight. |
void |
turnOnBacklight()
Turn on backlight. |
| Methods inherited from class org.eclipse.soda.dk.matrix.lcd.simulator.view.AbstractPanelWithBackground |
|---|
getCurrentImage, loadImage, paint, refresh, setCurrentImage |
| Methods inherited from class java.awt.Panel |
|---|
addNotify, getAccessibleContext |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LcdDisplayPanel()
| Method Detail |
|---|
public void clearText()
showDefaultText()public void decrementCursorPosition()
getCursorPosition(),
incrementCursorPosition(),
setCursorPosition(int)protected java.awt.Image getBacklightOffImage()
Image) value.setBacklightOffImage(Image)protected java.awt.Image getBacklightOnImage()
Image) value.setBacklightOnImage(Image)protected java.lang.StringBuffer getBuffer()
StringBuffer) value.setBuffer(StringBuffer)protected int getCursorPosition()
int) value.decrementCursorPosition(),
incrementCursorPosition(),
setCursorPosition(int)public void incrementCursorPosition()
decrementCursorPosition(),
getCursorPosition(),
setCursorPosition(int)protected void initialize()
protected boolean isPrintableCharacter(byte c)
c - The c (byte) parameter.
boolean) value.protected void populate()
protected void populateLabels()
public void printCharacter(byte charToPrint)
charToPrint - The char to print (byte) parameter.isPrintableCharacter(byte),
printCharacter(byte,boolean)
protected void printCharacter(byte charToPrint,
boolean refresh)
charToPrint - The char to print (byte) parameter.refresh - The refresh (boolean) parameter.isPrintableCharacter(byte),
printCharacter(byte)public void printString(java.lang.String string)
string - The string (String) parameter.
public void sendCursorToPosition(int x,
int y)
x - The x (int) parameter.y - The y (int) parameter.protected void setBacklightOffImage(java.awt.Image image)
image - The image (Image) parameter.getBacklightOffImage()protected void setBacklightOnImage(java.awt.Image image)
image - The image (Image) parameter.getBacklightOnImage()protected void setBuffer(java.lang.StringBuffer bs)
bs - The bs (StringBuffer) parameter.getBuffer()protected void setBufferContents(java.lang.StringBuffer bs)
bs - The bs (StringBuffer) parameter.protected void setCursorPosition(int i)
i - The i (int) parameter.decrementCursorPosition(),
getCursorPosition(),
incrementCursorPosition()public void showDefaultText()
public void turnOffBacklight()
public void turnOnBacklight()
|
1.0.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||