|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.blackledge.david.tivo.widgets.qk.QKCue
public class QKCue
Objects that tell the QuickKeyboard how to give the user hints about what regions of the character layout will get activated by different key presses. E.g. a cue that pressing "1" will activate the first row of keys (KEY_NUM_1, position 0,0; width ?; height 1) - the next set of cues might then indicate that pressing "1" again will activate the first character in that row. (KEY_NUM_1, position 0,0; width 1; height 1)
Constructor Summary | |
---|---|
QKCue(int column,
int row,
int keyCode)
shortcut for cues that cover only 1 character width/height. |
|
QKCue(int column,
int row,
int width,
int height,
int keyCode)
Create a QuickKeyboard cue identifying a region of the
keyboard character layout |
Method Summary | |
---|---|
int |
getColumn()
|
List |
getCues()
|
int |
getHeight()
|
int |
getKeyCode()
|
int |
getRow()
|
int |
getWidth()
|
void |
setBounds(int column,
int row,
int width,
int height)
|
void |
setCues(List cues)
Optional list of related cues (or whatever) for custom use by the handler, e.g. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QKCue(int column, int row, int width, int height, int keyCode)
QuickKeyboard
cue identifying a region of the
keyboard character layout
column
- 0-based column number of the cue - the left of the cue
arearow
- 0-based row number of the cue - the top of the cue areawidth
- number of characters that this cue will include
horizontallyheight
- number of characters that this cue will include
verticallykeyCode
- the HME keyCode that will activate the region
represented by these dimensions.public QKCue(int column, int row, int keyCode)
column
- row
- keyCode
- Method Detail |
---|
public void setCues(List cues)
cues
- public List getCues()
setCues(List)
- may be null.public int getColumn()
public int getRow()
public int getWidth()
public int getHeight()
public int getKeyCode()
public void setBounds(int column, int row, int width, int height)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |