com.itmill.toolkit.ui
Interface Component.Focusable

All Known Subinterfaces:
Field
All Known Implementing Classes:
AbstractField, Button, DateField, Form, ProgressIndicator, Select, Table, TextField, Tree, Upload
Enclosing interface:
Component

public static interface Component.Focusable

Interface implemented by components which can obtain input focus.


Method Summary
 void focus()
          Sets the focus to this component.
 long getFocusableId()
          Gets the unique ID of focusable.
 int getTabIndex()
          Gets the Tabulator index of this Focusable component.
 void setTabIndex(int tabIndex)
          Sets the Tabulator index of this Focusable component.
 

Method Detail

focus

void focus()
Sets the focus to this component.


getTabIndex

int getTabIndex()
Gets the Tabulator index of this Focusable component.

Returns:
the Positive tab order of this focusable. Negative of zero means unspecified tab order.

setTabIndex

void setTabIndex(int tabIndex)
Sets the Tabulator index of this Focusable component.

Parameters:
tabIndex - the Positive tab order of this focusable. Negative of zero means unspecified tab order.

getFocusableId

long getFocusableId()
Gets the unique ID of focusable. This will be used to move input focus directly to this component.

Returns:
the Unique id of focusable.


Copyright © 2000-2008 IT Mill Ltd. All Rights Reserved.