org.xnap.gui.plugin
Class PluginNode

java.lang.Object
  extended by javax.swing.tree.DefaultMutableTreeNode
      extended by org.xnap.gui.plugin.PluginNode
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode

public class PluginNode
extends javax.swing.tree.DefaultMutableTreeNode

See Also:
Serialized Form

Field Summary
static int STATE_INSTALL
           
static int STATE_KEEP
           
static int STATE_REMOVE
           
 
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
 
Constructor Summary
PluginNode(PackageInfo packageInfo)
           
 
Method Summary
 java.lang.String getAction()
          The selected action.
 PackageInfo getPackageInfo()
          Returns the package that is to be changed.
 PluginInfo getPluginInfo()
          Returns the plugin info that corresponds to the package.
 boolean isActionChanged()
           
 boolean isMarked()
           
 boolean isUpdateAvailable()
           
 void setAction(java.lang.String action)
           
 void setMarked(boolean marked)
           
 void setPackageInfo(PackageInfo packageInfo)
           
 void setPluginInfo(PluginInfo pluginInfo)
           
 
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STATE_KEEP

public static final int STATE_KEEP
See Also:
Constant Field Values

STATE_INSTALL

public static final int STATE_INSTALL
See Also:
Constant Field Values

STATE_REMOVE

public static final int STATE_REMOVE
See Also:
Constant Field Values
Constructor Detail

PluginNode

public PluginNode(PackageInfo packageInfo)
Method Detail

getAction

public java.lang.String getAction()
The selected action.


getPluginInfo

public PluginInfo getPluginInfo()
Returns the plugin info that corresponds to the package.


getPackageInfo

public PackageInfo getPackageInfo()
Returns the package that is to be changed.


isActionChanged

public boolean isActionChanged()

isMarked

public boolean isMarked()

isUpdateAvailable

public boolean isUpdateAvailable()

setAction

public void setAction(java.lang.String action)

setMarked

public void setMarked(boolean marked)

setPackageInfo

public void setPackageInfo(PackageInfo packageInfo)

setPluginInfo

public void setPluginInfo(PluginInfo pluginInfo)


Copyright © 2001-2005 XNap Team. All Rights Reserved.