|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--weka.gui.GenericObjectEditor.GOEPanel
Handles the GUI side of editing values.
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
GenericObjectEditor.GOEPanel()
Creates the GUI editor component |
Method Summary | |
void |
addCancelListener(ActionListener a)
This is used to hook an action listener to the cancel button |
void |
addOkListener(ActionListener a)
This is used to hook an action listener to the ok button |
protected Object |
copyObject(Object source)
Makes a copy of an object using serialization |
protected void |
createFileChooser()
|
void |
itemStateChanged(ItemEvent e)
When the chooser selection is changed, ensures that the Object is changed appropriately. |
protected Object |
openObject()
Opens an object from a file selected by the user. |
void |
removeCancelListener(ActionListener a)
This is used to remove an action listener from the cancel button |
void |
removeOkListener(ActionListener a)
This is used to remove an action listener from the ok button |
protected void |
saveObject(Object object)
Opens an object from a file selected by the user. |
void |
updateChildPropertySheet()
Updates the child property sheet, and creates if needed |
protected void |
updateChooser()
Called to update the list of values to be selected from |
protected void |
updateClassType()
Called when the class of object being edited changes. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GenericObjectEditor.GOEPanel()
Method Detail |
protected Object openObject()
protected void saveObject(Object object)
protected void createFileChooser()
protected Object copyObject(Object source)
source
- the object to copy
public void addOkListener(ActionListener a)
a
- The action listener.public void addCancelListener(ActionListener a)
a
- The action listener.public void removeOkListener(ActionListener a)
a
- The action listenerpublic void removeCancelListener(ActionListener a)
a
- The action listenerprotected void updateClassType()
protected void updateChooser()
public void updateChildPropertySheet()
public void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
e
- a value of type 'ItemEvent'
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |