Cytoscape 2.8.0 API

cytoscape.plugin
Class ThemeInfo

java.lang.Object
  extended by cytoscape.plugin.DownloadableInfo
      extended by cytoscape.plugin.ThemeInfo

public class ThemeInfo
extends DownloadableInfo


Nested Class Summary
 
Nested classes/interfaces inherited from class cytoscape.plugin.DownloadableInfo
DownloadableInfo.License
 
Field Summary
 
Fields inherited from class cytoscape.plugin.DownloadableInfo
versionMatch, versionSplit
 
Constructor Summary
ThemeInfo()
          See DownloadableInfo.DownloadableInfo() Initializes a ThemeInfo object with the following defaults: setName("Unknown"); setDescription("No description"); setObjectVersion("0.1"); setCytoscapeVersion( cytoscape.cytoscapeVersion.version ); setCategory("Theme");
ThemeInfo(String ID)
          See DownloadableInfo.DownloadableInfo(String)
 
Method Summary
 void addPlugin(PluginInfo plugin)
           
 void clearPluginList()
           
 boolean containsPlugin(PluginInfo plugin)
           
 Installable getInstallable()
           
 String getInstallLocation()
           
 List<PluginInfo> getPlugins()
           
 DownloadableType getType()
          See DownloadableInfo.getType()
 String htmlOutput()
           
 void replacePlugin(PluginInfo oldPlugin, PluginInfo newPlugin)
           
 
Methods inherited from class cytoscape.plugin.DownloadableInfo
addCytoscapeVersion, basicHtmlOutput, containsVersion, equals, equalsDifferentObjectVersion, getCategory, getCytoscapeVersion, getCytoscapeVersions, getDescription, getDownloadableURL, getID, getLicenseText, getName, getObjectUrl, getObjectVersion, getParent, getReleaseDate, isLicenseRequired, isNewerObjectVersion, isPluginCompatibleWithCurrent, setCategory, setCategory, setDescription, setDownloadableURL, setLicense, setLicense, setName, setObjectUrl, setObjectVersion, setParent, setReleaseDate, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThemeInfo

public ThemeInfo()
See DownloadableInfo.DownloadableInfo() Initializes a ThemeInfo object with the following defaults: setName("Unknown"); setDescription("No description"); setObjectVersion("0.1"); setCytoscapeVersion( cytoscape.cytoscapeVersion.version ); setCategory("Theme");


ThemeInfo

public ThemeInfo(String ID)
See DownloadableInfo.DownloadableInfo(String)

Parameters:
UniqueID - Additionally this sets the unique identifier that will be used to find a new version of the theme at the given download url.
Method Detail

getInstallable

public Installable getInstallable()
Specified by:
getInstallable in class DownloadableInfo

getType

public DownloadableType getType()
See DownloadableInfo.getType()

Specified by:
getType in class DownloadableInfo

replacePlugin

public void replacePlugin(PluginInfo oldPlugin,
                          PluginInfo newPlugin)

addPlugin

public void addPlugin(PluginInfo plugin)
Parameters:
plugin - Add a plugin object to this theme.

getPlugins

public List<PluginInfo> getPlugins()
Returns:
All plugins that make up this theme.

containsPlugin

public boolean containsPlugin(PluginInfo plugin)

clearPluginList

public void clearPluginList()

getInstallLocation

public String getInstallLocation()

htmlOutput

public String htmlOutput()
Specified by:
htmlOutput in class DownloadableInfo

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.