|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.lirc.util.LIRCMapSetup
Helps setup a new LIRCMap
.
Constructor Summary | |
LIRCMapSetup(java.util.Set values)
Creates a new LIRCMapSetup. |
Method Summary | |
LIRCMap |
getMap()
Gets the LIRCMap that this object sets up. |
boolean |
hasNext()
Returns true if there are more values that need to have a button mapped to them. |
java.lang.String |
nextName()
Moves on to the next value. |
void |
setCurrent(java.lang.String button)
Maps a button to the current value, matching any remote. |
void |
setCurrent(java.lang.String button,
java.lang.String remote)
Maps a button to the current value. |
void |
setCurrent(java.lang.String button,
java.lang.String remote,
int repeat)
Maps a button to the current value, matching any remote. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LIRCMapSetup(java.util.Set values)
values
- the set of values (strings) that need to be mappedMethod Detail |
public LIRCMap getMap()
public boolean hasNext()
public java.lang.String nextName()
public void setCurrent(java.lang.String button)
button
- name of the buttonpublic void setCurrent(java.lang.String button, java.lang.String remote)
button
- name of the buttonremote
- name of the remotepublic void setCurrent(java.lang.String button, java.lang.String remote, int repeat)
button
- name of the buttonremote
- name of the remoterepeat
- repeat value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |