MIDP3.0

javax.microedition.lcdui
Interface TabListener


public interface TabListener

This interface is used to receive events related to changes on a TabbedPane.

Since:
MIDP 3.0

Method Summary
 void tabAddedEvent(int index, Screen tab)
          Indicates that a new tab is added.
 void tabChangeEvent(Screen tab)
          Indicates that a new tab is receiving the focus (being selected).
 void tabRemovedEvent(int index)
          Indicates that a tab is removed.
 

Method Detail

tabChangeEvent

void tabChangeEvent(Screen tab)
Indicates that a new tab is receiving the focus (being selected).

Parameters:
tab - the tab that is receiving the focus.
Since:
MIDP 3.0

tabAddedEvent

void tabAddedEvent(int index,
                   Screen tab)
Indicates that a new tab is added.

Parameters:
tab - the tab that is added.
index - the index of the tab where the insertion is to occur.
Since:
MIDP 3.0

tabRemovedEvent

void tabRemovedEvent(int index)
Indicates that a tab is removed.

Parameters:
index - the index number of the removed tab.
Since:
MIDP 3.0

MIDP3.0

Send a comment or suggestionVersion 3.0 of Mobile Information Device Profile Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-2009 Motorola Inc. Portions copyright 1993-2002 Sun Microsystems, Inc. and Motorola, Inc. All Rights Reserved.