net.fenyo.gnetwatch.targets
Class TargetInterface
java.lang.Object
net.fenyo.gnetwatch.GUI.VisualElement
net.fenyo.gnetwatch.targets.Target
net.fenyo.gnetwatch.targets.TargetInterface
public class TargetInterface
- extends Target
TargetInterface implements an interface of an IP target.
- Version:
- $Id: TargetInterface.java,v 1.11 2008/04/15 23:58:17 fenyo Exp $
- Author:
- Alexandre Fenyo
| Methods inherited from class net.fenyo.gnetwatch.targets.Target |
addEvent, addTarget, canAddTarget, disposed, equals, getEventLists, getEvents, getLastEvent, getName, hashCode, mergeEvents, registerComponent, setEventLists, setName, unregisterComponent |
| Methods inherited from class net.fenyo.gnetwatch.GUI.VisualElement |
addParent, contains, duplicateTreeItemOnce, expandTreeItems, getAllParents, getChildren, getDescription, getGUI, getId, getItem, getParents, getProgress, getSubElements, getSubElements, getTreeItems, getType, informSelected, isDisposed, isThisOurTreeItem, removeVisualElements, selected, setChildren, setDescription, setGUI, setId, setImage, setImageExec, setImageFolder, setImageHost, setImageHost6, setImageHost6SNMP, setImageHostSNMP, setImageInterface, setImageMultiRow, setImageNetwork, setImageOscillo, setImageQueue, setImageWatch, setItem, setParent, setParent, setProgress, setType, unselected |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
log
private static Log log
interfaceName
private java.lang.String interfaceName
TargetInterface
public TargetInterface(java.lang.String name,
java.lang.String interface_name)
throws AlgorithmException
- Constructor.
- Parameters:
name - target name.interface_name - interface name.
- Throws:
AlgorithmException - exception.
TargetInterface
public TargetInterface()
throws AlgorithmException
- Default constructor.
- Parameters:
none. -
- Throws:
AlgorithmException - exception.
initialize
protected final void initialize(GUI gui)
- Initializes this target.
- Overrides:
initialize in class VisualElement
- Parameters:
gui - current GUI instance.
getInterfaceName
protected java.lang.String getInterfaceName()
setInterfaceName
protected void setInterfaceName(java.lang.String interface_name)
canManageThisChild
public boolean canManageThisChild(VisualElement visual_element)
- Checks that the parameter can be attached to this target.
- Overrides:
canManageThisChild in class VisualElement
- Parameters:
visual_element - parameter to check.
- Returns:
- true if the parameter can be attached to this target.