org.moyoman.client.reference.debug
Class DebugDialog.ModuleWrapper

java.lang.Object
  |
  +--org.moyoman.client.reference.debug.DebugDialog.ModuleWrapper
All Implemented Interfaces:
Comparable
Enclosing class:
DebugDialog

class DebugDialog.ModuleWrapper
extends Object
implements Comparable

Provides a wrapper for module names with a is enabled flag.

Since:
v0.16
Version:
v0.16
Author:
Jeffrey M. Thompson

Field Summary
private  String _module
          Module name.
private  DebugSelectorPane _pane
          Debug selector pane.
 
Constructor Summary
DebugDialog.ModuleWrapper(String module, DebugSelectorPane pane)
          Construct this object with the given parameter.
 
Method Summary
 int compareTo(Object object)
          Return -1, 0, or 1 if the given object is less than, equal to, or greater than this.
 String getModule()
          Return the wrapped module name.
 boolean isEnabled()
          Return true if this is enabled.
 String toString()
          Return a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_pane

private DebugSelectorPane _pane
Debug selector pane.


_module

private String _module
Module name.

Constructor Detail

DebugDialog.ModuleWrapper

public DebugDialog.ModuleWrapper(String module,
                                 DebugSelectorPane pane)
Construct this object with the given parameter.

Since:
v0.16
Method Detail

isEnabled

public boolean isEnabled()
Return true if this is enabled.

Since:
v0.16

getModule

public String getModule()
Return the wrapped module name.

Since:
v0.16

compareTo

public int compareTo(Object object)
Return -1, 0, or 1 if the given object is less than, equal to, or greater than this.

Specified by:
compareTo in interface Comparable
Since:
v0.16

toString

public String toString()
Return a string representation of this object.

Overrides:
toString in class Object
Since:
v0.16