|
||||||||||
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.experiment.HostListPanel
This panel controls setting a list of hosts for a RemoteExperiment to use.
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 | |
protected JButton |
m_DeleteBut
Click to remove the selected host from the list |
protected RemoteExperiment |
m_Exp
The remote experiment to set the host list of |
protected JTextField |
m_HostField
The field with which to enter host names |
protected JList |
m_List
The component displaying the host list |
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 | |
HostListPanel()
Create the host list panel initially disabled. |
|
HostListPanel(RemoteExperiment exp)
Creates the host list panel with the given experiment. |
Method Summary | |
void |
actionPerformed(ActionEvent e)
Handle actions when text is entered into the host field or the delete button is pressed. |
static void |
main(String[] args)
Tests out the host list panel from the command line. |
void |
setExperiment(RemoteExperiment exp)
Tells the panel to act on a new experiment. |
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 |
Field Detail |
protected RemoteExperiment m_Exp
protected JList m_List
protected JButton m_DeleteBut
protected JTextField m_HostField
Constructor Detail |
public HostListPanel(RemoteExperiment exp)
exp
- a value of type 'Experiment'public HostListPanel()
Method Detail |
public void setExperiment(RemoteExperiment exp)
exp
- a value of type 'Experiment'public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
e
- a value of type 'ActionEvent'public static void main(String[] args)
args
- ignored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |