|
||||||||||
| 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.opensha.commons.gui.LabeledBorderPanel
org.opensha.commons.param.editor.AbstractParameterEditor<ParameterList>
org.opensha.commons.param.editor.impl.ParameterListParameterEditor
org.opensha.commons.param.editor.impl.TreeBranchWeightsParameterEditor
public class TreeBranchWeightsParameterEditor
Title: TreeBranchWeightsParameterEditor
Description: This class is more like a parameterList consisting of only Double Parameters and considering this parameterList as a single Parameter. This parameter editor will show up as the button on th GUI interface and when the user punches the button, all the parameters will pop up in a seperate window showing all the double parameters contained within this parameter.
| 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.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected static String |
C
Class name for debugging. |
| Fields inherited from class org.opensha.commons.param.editor.impl.ParameterListParameterEditor |
|---|
D, editor, frame, parameterChangeFlag |
| Fields inherited from class org.opensha.commons.param.editor.AbstractParameterEditor |
|---|
CONST_BORDER, DEFAULT_FONT, ETCHED, FOCUS_BORDER, LABEL_DIM, LABEL_PANEL_DIM, WIGET_PANEL_DIM |
| Fields inherited from class org.opensha.commons.gui.LabeledBorderPanel |
|---|
addDefault, borderColor, editorPanel, GBL, jScrollPane1, mainPanel, PARAMETER_LABEL_FONT, PARAMTER_FORE_COLOR, title |
| 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 | |
|---|---|
TreeBranchWeightsParameterEditor(Parameter<ParameterList> model)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent ae)
This function is called when the user click for the ParameterListParameterEditor Button |
protected void |
button_actionPerformed(ActionEvent e)
This function is called when user punches the button to update the ParameterList Parameter |
boolean |
isParameterSupported(Parameter<ParameterList> param)
Abstract method that allows subclasses to define if a specific parameter is valid. |
void |
itemStateChanged(ItemEvent event)
This is called when user selects in Auto weight pick list |
| Methods inherited from class org.opensha.commons.param.editor.impl.ParameterListParameterEditor |
|---|
buildWidget, parameterChange, setEnabled, setParameterVisible, updateWidget |
| Methods inherited from class org.opensha.commons.param.editor.AbstractParameterEditor |
|---|
getComponent, getLabelToolTipText, getParameter, getValue, getWidget, getWidgetToolTipText, isFocusEnabled, makeSingleConstraintValueLabel, refreshParamEditor, removeWidget, setEditorBorder, setFocusEnabled, setParameter, setValue, unableToSetValue, updateTitle |
| Methods inherited from class org.opensha.commons.gui.LabeledBorderPanel |
|---|
add, add, add, add, add, getBorderColor, getTitle, initParameterLookAndFeel, jbInit, remove, remove, removeAll, setBorderColor, setLayout, setTitle, setTitleFont, setTitleJustification, setTitlePosition |
| 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 |
| Methods inherited from interface org.opensha.commons.param.editor.ParameterEditor |
|---|
isVisible, setVisible |
| Field Detail |
|---|
protected static final String C
| Constructor Detail |
|---|
public TreeBranchWeightsParameterEditor(Parameter<ParameterList> model)
| Method Detail |
|---|
public void actionPerformed(ActionEvent ae)
actionPerformed in interface ActionListeneractionPerformed in class ParameterListParameterEditorae - protected void button_actionPerformed(ActionEvent e)
button_actionPerformed in class ParameterListParameterEditore - public void itemStateChanged(ItemEvent event)
itemStateChanged in interface ItemListenerpublic boolean isParameterSupported(Parameter<ParameterList> param)
AbstractParameterEditorsetParameter is called.
isParameterSupported in class ParameterListParameterEditor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||