View Javadoc

1   package com.loribel.commons.abstraction;
2   
3   /***
4    * Interface to manage a default index.
5    * 
6    * Can use with TabbedPane.
7    * For example Implements this interface with static variable to always use the same tab index.
8    *
9    * @author Grégory Borelli
10   */
11  public interface GB_DefaultIndex
12  {
13  
14      /***
15       * Sets the index.
16       */
17      void setIndex(
18              int a_index);
19  
20      /***
21       * Gets the index.
22       */
23      int getIndex();
24  
25  }