|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.emn.reactiveinput.AbstractDevice
fr.emn.examples.icondraw.DTool
fr.emn.examples.icondraw.DBrushTool
fr.emn.examples.icondraw.DFreehand
| Field Summary | |
protected LiteShape |
shape
|
| Fields inherited from class fr.emn.examples.icondraw.DBrushTool |
a, b, color, context, g, r, stroke, w_val, width, x, y |
| Fields inherited from class fr.emn.examples.icondraw.DTool |
activate, use |
| Fields inherited from class fr.emn.reactiveinput.AbstractDevice |
currIndex, ins, outs |
| Fields inherited from interface fr.emn.reactiveinput.Device |
AUTO_PROPERTIES |
| Constructor Summary | |
DFreehand()
|
|
DFreehand(java.lang.String name,
DrawView view)
|
|
| Method Summary | |
void |
update_abort()
Not implemented. |
boolean |
update_begin()
Initiates an interaction. |
void |
update_end()
Ends and validates an interaction. |
void |
update_value(boolean force)
Update interaction values. |
| Methods inherited from class fr.emn.examples.icondraw.DBrushTool |
check, getColor, getContext, getStroke, open, paint |
| Methods inherited from class fr.emn.examples.icondraw.DTool |
close, copy, getActivated, getScreenCoordinates, hasExternalOutput, isActive, isUsed, setActivated, setScreenCoordinates, toLocal, update |
| Methods inherited from class fr.emn.reactiveinput.AbstractDevice |
addIn, addIn, addOut, doDisable, doEnable, finalize, getError, getIndex, getInfo, getIns, getName, getOuts, getProperties, hasExternalInput, init, insertAt, insertAtEnd, insertBefore, isCopiable, isEnabled, isOpenable, setEnabled, setInfo, setInfo, setLastError, setName |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected LiteShape shape
| Constructor Detail |
public DFreehand()
public DFreehand(java.lang.String name,
DrawView view)
| Method Detail |
public void update_abort()
update_abort in class DToolpublic boolean update_begin()
DToolYou can refuse starting an interaction by returning false (e.g. if you do not have enough data). This method will be re-checked the next tick.
update_begin in class DBrushToolpublic void update_end()
DTool
update_end in class DToolpublic void update_value(boolean force)
DToolThis method is called during an interaction every time a value may have changed.
Additionnaly, it is called with first=true just after interaction has been initiated (provided that update_begin returned true) and just before interaction has been aborted or validated.
update_value in class DBrushTool
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||