/*
* File : PluginMyTorrentsItem.java
* Created : 24 nov. 2003
* By : Olivier
* Adapted to MyTorrents by TuxPaper 2004/02/16
*
* Azureus - a Java Bittorrent client
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details ( see the LICENSE file ).
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.gudy.azureus2.plugins.ui.tables.mytorrents;
/** (DEPRECATED) This interface represents a table item in the "My Torrents" view.
*
* @author Olivier
*
* @deprecated Use {@link org.gudy.azureus2.plugins.ui.tables}
*/
public interface PluginMyTorrentsItem {
/** Called by the GUI whenever a refresh is needed.<br>
* The Item should have been created by its associated factory,
* and been initialiazed with references to a MyTorrentsTableItem.
*/
public void refresh();
/** Called by the GUI whenever a sort is done.<br>
* Should return null if the item is of type TYPE_INT.
*
* @return the current value
*/
public String getStringValue();
/** Called by the GUI whenever a sort is done.<br>
* Should return 0 if the item is of type TYPE_STRING.
*
* @return the current value
*/
public int getIntValue();
}
|