|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atomikos.beans.MemberChooser
public class MemberChooser
This class offers a GUI dialog for choosing methods, constructors or fields from a given class. Its behaviour can be customized by providing a MemberFilter that restricts the possible options.
Constructor Summary | |
---|---|
MemberChooser(JFrame parent,
Class clazz)
|
Method Summary | |
---|---|
MemberFilter |
getMemberFilter()
|
static void |
main(String[] args)
|
void |
setMemberFilter(MemberFilter filter)
|
Constructor |
showConstructorsDialog(Constructor selectedConstructor)
Shows a dialog with all applicable constructors. |
Field |
showFieldsDialog(Method selectedField)
Shows a dialog with all applicable fields. |
Method |
showMethodsDialog(Method selectedMethod)
Shows a dialog with all the applicable methods. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemberChooser(JFrame parent, Class clazz)
Method Detail |
---|
public void setMemberFilter(MemberFilter filter)
public MemberFilter getMemberFilter()
public Method showMethodsDialog(Method selectedMethod)
selectedMethod
- The method that is initially selected.
public Field showFieldsDialog(Method selectedField)
selectedField
- The initially selected field.
public Constructor showConstructorsDialog(Constructor selectedConstructor)
selectedConstructor
- The initially selected constructor.
public static void main(String[] args) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |