| |
|
| java.lang.Object net.fenyo.gnetwatch.GUI.VisualElement net.fenyo.gnetwatch.targets.Target net.fenyo.gnetwatch.targets.TargetIPv4Subnet
TargetIPv4Subnet | public class TargetIPv4Subnet extends Target (Code) | | TargetIPv4Subnet implements an IPv4 subnet defined by a subnet address and a subnet mask.
author: Alexandre Fenyo version: $Id: TargetIPv4Subnet.java,v 1.10 2007/03/03 00:38:19 fenyo Exp $ |
Method Summary | |
public boolean | canManageThisChild(VisualElement visual_element) Checks that the parameter can be attached to this target.
Parameters: visual_element - parameter to check. | public boolean | equals(Object o) Compares two targets.
Parameters: o - target to compare to. | protected Inet4Address | getNetmask() Returns the netmask of this subnet.
none. | protected Inet4Address | getNetwork() Returns the network address of this subnet.
none. | public int | hashCode() Returns the hashcode for this target.
none. | public void | initialize(GUI gui) Initializes this target.
Parameters: gui - current GUI instance. |
canManageThisChild | public boolean canManageThisChild(VisualElement visual_element)(Code) | | Checks that the parameter can be attached to this target.
Parameters: visual_element - parameter to check. true if the parameter can be attached to this target. |
equals | public boolean equals(Object o)(Code) | | Compares two targets.
Parameters: o - target to compare to. true if the targets are equal. |
getNetmask | protected Inet4Address getNetmask()(Code) | | Returns the netmask of this subnet.
none. Inet4Address netmask. |
getNetwork | protected Inet4Address getNetwork()(Code) | | Returns the network address of this subnet.
none. Inet4Address network address. |
hashCode | public int hashCode()(Code) | | Returns the hashcode for this target.
none. int hashcode. |
initialize | public void initialize(GUI gui)(Code) | | Initializes this target.
Parameters: gui - current GUI instance. void. |
|
|
|