|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pf.joi.Spy
org.pf.joi.ElementSpy
org.pf.joi.inspectors.MethodSpy
public class MethodSpy
Represents a method rather than a field as element in the inspector.
| Field Summary |
|---|
| Fields inherited from class org.pf.joi.Spy |
|---|
RENDERER_MAPPING_FILENAME |
| Constructor Summary | |
|---|---|
MethodSpy(AbstractObjectSpy object,
java.lang.reflect.Method method)
Initialize the new instance with default values. |
|
| Method Summary | |
|---|---|
int |
getModifiers()
Returns the modifiers of the elements declaration. |
java.lang.String |
getName()
Returns the name of the inspected object |
java.lang.Class |
getType()
Returns the type of the holded object. |
java.lang.Object |
getValue()
Returns the value of the holded object. |
boolean |
isEditable()
Currently allows to edit String values and primitive types only |
| Methods inherited from class org.pf.joi.ElementSpy |
|---|
compareTo, is_Boolean_or_boolean, is_Byte_or_byte, is_Character_or_char, is_Double_or_double, is_Float_or_float, is_Integer_or_int, is_Long_or_long, is_Short_or_short, isElementSpy, setValue |
| Methods inherited from class org.pf.joi.Spy |
|---|
getTypeString, getValueComponent, getValueString, getValueTypeString, is_boolean, is_byte, is_char, is_double, is_float, is_int, is_long, is_short, isPrimitive, valueIsNull |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MethodSpy(AbstractObjectSpy object,
java.lang.reflect.Method method)
| Method Detail |
|---|
public java.lang.Class getType()
Spy
getType in class Spypublic java.lang.String getName()
Spy
getName in class Spypublic int getModifiers()
ElementSpy
getModifiers in class ElementSpyModifier
public java.lang.Object getValue()
throws java.lang.Exception
Spy
getValue in class Spyjava.lang.Exceptionpublic boolean isEditable()
isEditable in class ElementSpy
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||