org.gudy.azureus2.plugins.ui.tables.mytorrents
Interface PluginMyTorrentsItemFactory


Deprecated. Use org.gudy.azureus2.plugins.ui.tables

public interface PluginMyTorrentsItemFactory

This interface represents the factory responsible of creating PluginMyTorrentsItem.
It must also define some methods giving general information about the item.

Author:
TuxPaper

Field Summary
static java.lang.String ORIENT_LEFT
          Deprecated. Left orient the colmn items text
static java.lang.String ORIENT_RIGHT
          Deprecated. Right orient the colmn items text
static int POSITION_INVISIBLE
          Deprecated. For getDefaultPosition().
static int POSITION_LAST
          Deprecated. For getDefaultPosition().
static int TABLE_ALL
          Deprecated. Visible for all My Torrent tables
static int TABLE_COMPLETE
          Deprecated. Visible for Completed Torrents table
static int TABLE_INCOMPLETE
          Deprecated. Visible for Incompleted Torrents table
static java.lang.String TYPE_INT
          Deprecated. The int type, used for ordering.
static java.lang.String TYPE_STRING
          Deprecated. The String type, used for ordering.
 
Method Summary
 int getDefaultPosition()
          Deprecated. Default location to put the column
 int getDefaultSize()
          Deprecated. The 'column' default size
 PluginMyTorrentsItem getInstance(MyTorrentsTableItem item)
          Deprecated. This method is called whenever a new line is created.
 java.lang.String getName()
          Deprecated. The logical name of the column.
 java.lang.String getOrientation()
          Deprecated. Orientation of the columns text
 int getTablesVisibleIn()
          Deprecated. Which tables the column will be visible in
 java.lang.String getType()
          Deprecated. The type of the contained data.
 

Field Detail

TYPE_STRING

static final java.lang.String TYPE_STRING
Deprecated. 
The String type, used for ordering.

See Also:
Constant Field Values

TYPE_INT

static final java.lang.String TYPE_INT
Deprecated. 
The int type, used for ordering.

See Also:
Constant Field Values

ORIENT_RIGHT

static final java.lang.String ORIENT_RIGHT
Deprecated. 
Right orient the colmn items text

See Also:
Constant Field Values

ORIENT_LEFT

static final java.lang.String ORIENT_LEFT
Deprecated. 
Left orient the colmn items text

See Also:
Constant Field Values

POSITION_INVISIBLE

static final int POSITION_INVISIBLE
Deprecated. 
For getDefaultPosition(). Make column invisible initially.

See Also:
Constant Field Values

POSITION_LAST

static final int POSITION_LAST
Deprecated. 
For getDefaultPosition(). Make column the last column initially.

See Also:
Constant Field Values

TABLE_COMPLETE

static final int TABLE_COMPLETE
Deprecated. 
Visible for Completed Torrents table

See Also:
Constant Field Values

TABLE_INCOMPLETE

static final int TABLE_INCOMPLETE
Deprecated. 
Visible for Incompleted Torrents table

See Also:
Constant Field Values

TABLE_ALL

static final int TABLE_ALL
Deprecated. 
Visible for all My Torrent tables

See Also:
Constant Field Values
Method Detail

getName

java.lang.String getName()
Deprecated. 
The logical name of the column.
Note that spaces in the name should be avoid.
In order to the plugin to display correctly the column name, a key in the Plugin language file will need to contain MyTorrentsView.getName() result=The column name.

Returns:
the column name (identification)

getType

java.lang.String getType()
Deprecated. 
The type of the contained data.
Current supported types are int / long (TYPE_INTEGER) and String TYPE_STRING.

Returns:
TYPE_STRING or TYPE_INT

getDefaultSize

int getDefaultSize()
Deprecated. 
The 'column' default size

Returns:
the size in pixels

getDefaultPosition

int getDefaultPosition()
Deprecated. 
Default location to put the column

Returns:
Column Number (0 based), or -1 for initially invisible

getOrientation

java.lang.String getOrientation()
Deprecated. 
Orientation of the columns text

Returns:
ORIENT_LEFT or ORIENT_RIGHT

getTablesVisibleIn

int getTablesVisibleIn()
Deprecated. 
Which tables the column will be visible in

Returns:
TABLE_COMPLETE, TABLE_INCOMPLETE or both

getInstance

PluginMyTorrentsItem getInstance(MyTorrentsTableItem item)
Deprecated. 
This method is called whenever a new line is created.

Parameters:
item - the MyTorrentsTableItem that is being created
Returns:
the PluginMyTorrentsItem you created