fi.hut.tml.xsmiles.gui.components.havi
Class HaviFocusManager

java.lang.Object
  extended byfi.hut.tml.xsmiles.gui.components.awt.AWTFocusManager
      extended byfi.hut.tml.xsmiles.gui.components.havi.HaviFocusManager
All Implemented Interfaces:
XFocusManager

public class HaviFocusManager
extends AWTFocusManager

This is the base class that is extended by FocusPointProviders

Author:
Pablo Cesar, Mikko Honkala

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTFocusManager
contentArea, contentFocus, contentprovider, currentFocus, focusComponent, fpList, guiFocus, guiprovider, rootContainer, scrollContainer, tmpFocus
 
Fields inherited from interface fi.hut.tml.xsmiles.gui.components.XFocusManager
DOCUMENT_FOCUS_PROVIDER, DOWN_FOCUS_POINT, LEFT_FOCUS_POINT, NEXT_FOCUS_POINT, PREVIOUS_FOCUS_POINT, RIGHT_FOCUS_POINT, UP_FOCUS_POINT, WIDGETS_FOCUS_PROVIDER
 
Constructor Summary
HaviFocusManager()
           
 
Method Summary
 void cleanFocusPoint(FocusPoint fp)
           
 boolean controlHaviScrollPage(FocusPoint fp)
           
 void drawFocusPoint(FocusPoint fp)
           
 java.awt.Point getScrollPosition(java.awt.Component component)
           
 boolean isScrollPane(java.awt.Container cont)
           
 
Methods inherited from class fi.hut.tml.xsmiles.gui.components.awt.AWTFocusManager
addContentArea, addProvider, addRootContainer, applyAlgorithm, calculateMidX, calculateMidY, calculateMin, changeFocus, getBrowserViewLocation, getCurrentFocusPoint, getCurrentFocusRectangle, getCurrentViewLocation, getFocusComponent, getIndexOfComponent, getScrollContainer, setFirstFocusPoint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HaviFocusManager

public HaviFocusManager()
Method Detail

isScrollPane

public boolean isScrollPane(java.awt.Container cont)
Overrides:
isScrollPane in class AWTFocusManager

getScrollPosition

public java.awt.Point getScrollPosition(java.awt.Component component)
Overrides:
getScrollPosition in class AWTFocusManager

cleanFocusPoint

public void cleanFocusPoint(FocusPoint fp)
Specified by:
cleanFocusPoint in interface XFocusManager
Overrides:
cleanFocusPoint in class AWTFocusManager

drawFocusPoint

public void drawFocusPoint(FocusPoint fp)
Specified by:
drawFocusPoint in interface XFocusManager
Overrides:
drawFocusPoint in class AWTFocusManager

controlHaviScrollPage

public boolean controlHaviScrollPage(FocusPoint fp)
Overrides:
controlHaviScrollPage in class AWTFocusManager


X-Smiles 1.2