|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfi.hut.tml.xsmiles.mlfc.smil.viewer.havi.HaviFocusManager
Simple focus manager for Havi
| Field Summary | |
protected java.util.Vector |
linkFocusList
|
| Constructor Summary | |
HaviFocusManager()
|
|
| Method Summary | |
void |
addFocusable(HNavigable link)
Add a link component to a focus list. |
protected int |
calculateMidX(java.awt.Component comp)
|
protected int |
calculateMidY(java.awt.Component comp)
|
void |
createFocusGrid()
Creates the focus grid, for all keys, up, down, left, right. |
void |
removeFocusable(HNavigable link)
Remove a link component from a focus list. |
protected HNavigable |
searchDown(HNavigable origo)
Searches down for the closest focus traversal. |
protected HNavigable |
searchLeft(HNavigable origo)
Searches left for the closest focus traversal. |
protected HNavigable |
searchRight(HNavigable origo)
Searches right for the closest focus traversal. |
protected HNavigable |
searchUp(HNavigable origo)
Searches up for the closest focus traversal. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Vector linkFocusList
| Constructor Detail |
public HaviFocusManager()
| Method Detail |
public void addFocusable(HNavigable link)
link - Link component, HNavigablepublic void removeFocusable(HNavigable link)
link - Link component, HNavigableprotected HNavigable searchUp(HNavigable origo)
protected HNavigable searchDown(HNavigable origo)
protected HNavigable searchLeft(HNavigable origo)
protected HNavigable searchRight(HNavigable origo)
protected int calculateMidX(java.awt.Component comp)
protected int calculateMidY(java.awt.Component comp)
public void createFocusGrid()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||