|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.vizzini.ui.game.AgentPanel
public class AgentPanel
Provides a panel to configure an agent.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces 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 | |
|---|---|
AgentPanel(String name,
ITeam team)
Construct this object with the given parameters. |
|
| Method Summary | |
|---|---|
protected void |
checkComponents()
Check components for their enable state. |
protected JTextArea |
createDescriptionUI()
Create the description widget. |
protected JTextField |
createNameUI(String name)
Create the name widget. |
protected JPanel |
createSearchDepthUI()
Create the search depth widget. |
protected JComboBox |
createTypeUI()
Create the type widget. |
IAgent |
getAgent()
Create and return the desired agent. |
protected int |
getSearchDepth()
Return the search depth. |
static void |
setProperties(Properties properties)
Set the agent properties. |
protected void |
setSearchDepth(int depth)
Set the search depth. |
| 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 AgentPanel(String name,
ITeam team)
name - Agent name.team - Agent team.| Method Detail |
|---|
public static void setProperties(Properties properties)
properties - Properties.public IAgent getAgent()
protected void checkComponents()
protected JTextArea createDescriptionUI()
protected JTextField createNameUI(String name)
protected JPanel createSearchDepthUI()
protected JComboBox createTypeUI()
protected int getSearchDepth()
protected void setSearchDepth(int depth)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |