|
||||||||||
| 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.simbrain.network.dialog.synapse.AbstractSynapsePanel
public abstract class AbstractSynapsePanel
AbstractSynapsePanel.
| 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 | |
|---|---|
protected LabelledItemPanel |
mainPanel
Main panel. |
static String |
NULL_STRING
Null string. |
protected ArrayList |
synapseList
The synapses being modified. |
| 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 | |
|---|---|
AbstractSynapsePanel()
This method is the default constructor. |
|
| Method Summary | |
|---|---|
void |
addBottomText(String text)
Add notes or other text to bottom of panel. |
void |
addItem(String text,
JComponent comp)
Adds an item. |
void |
addItemLabel(JLabel text,
JComponent comp)
Add item label. |
abstract void |
commitChanges()
Called externally when the dialog is closed, to commit any changes made. |
abstract void |
fillDefaultValues()
Populate fields with default data. |
abstract void |
fillFieldValues()
Populate fields with current data. |
ArrayList |
getSynapseList()
|
void |
setSynapseList(ArrayList synapseList)
|
| 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 |
|---|
public static final String NULL_STRING
protected ArrayList synapseList
protected LabelledItemPanel mainPanel
| Constructor Detail |
|---|
public AbstractSynapsePanel()
| Method Detail |
|---|
public void addItem(String text,
JComponent comp)
text - label of item to addcomp - component to add
public void addItemLabel(JLabel text,
JComponent comp)
text - label to addcomp - component to apply labelpublic abstract void fillFieldValues()
public abstract void fillDefaultValues()
public abstract void commitChanges()
public ArrayList getSynapseList()
public void setSynapseList(ArrayList synapseList)
synapseList - The synapse_list to set.public void addBottomText(String text)
text - Text to add to bottom of panel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||