|
||||||||||
| 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.param.editor.AbstractParameterEditorOld
org.opensha.refFaultParamDb.gui.params.CommentsParameterEditor
public class CommentsParameterEditor
Title: CommnetsParameterEditor
Description: This allows the input of multi line comments by the user.
| 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. |
protected static boolean |
D
If true print out debug statements. |
protected static GridBagConstraints |
WIDGET_GBC
|
protected static GridBagConstraints |
WIDGET_PANEL_GBC
|
protected static Dimension |
WIGET_PANEL_DIM
|
| Fields inherited from class org.opensha.commons.param.editor.AbstractParameterEditorOld |
|---|
border1, catchConstraint, COMBO_WIDGET_GBC, CONST_BORDER, DATA_TEXT, DEFAULT_FONT, DEFAULT_LABEL_FONT, EMPTY, ETCHED, FIVE_FIVE_INSETS, FIVE_INSETS, FOCUS_BORDER, focusEnabled, focusLostProcessing, FORE_COLOR, GBL, JCOMBO_DIM, JCOMBO_FONT, JLIST_DIM, keyTypeProcessing, LABEL_DIM, LABEL_PANEL_DIM, LABEL_TEXT, labelPanel, model, nameLabel, OUTER_PANEL_GBC, outerPanel, STRING_BACK_COLOR, titledBorder1, valueEditor, widgetPanel, ZERO_INSETS |
| 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 | |
|---|---|
CommentsParameterEditor()
No-Arg constructor calls parent constructor |
|
CommentsParameterEditor(Parameter model)
Constructor that sets the parameter that it edits. |
|
| Method Summary | |
|---|---|
protected void |
addWidget()
This is where the JTextArea is defined and configured. |
void |
focusLost(FocusEvent e)
Called when the user clicks on another area of the GUI outside this editor panel. |
protected void |
jbInit()
Main GUI Initialization point. |
void |
refreshParamEditor()
Updates the JTextArea string with the parameter value. |
void |
setParameter(Parameter model)
Sets the parameter to be edited. |
| Methods inherited from class org.opensha.commons.param.editor.AbstractParameterEditorOld |
|---|
focusGained, getComponent, getOuterPanel, getParameter, getValue, getValueEditor, isFocusEnabled, keyPressed, keyReleased, keyTyped, makeConstantEditor, removeWidget, setEditorBorder, setEnabled, setFocusEnabled, setNameLabelToolTip, setParameterInEditor, setValue, setWidgetBorder, setWidgetObject, unableToSetValue, updateNameLabel |
| 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
protected static final boolean D
protected static final Dimension WIGET_PANEL_DIM
protected static final GridBagConstraints WIDGET_GBC
protected static final GridBagConstraints WIDGET_PANEL_GBC
| Constructor Detail |
|---|
public CommentsParameterEditor()
public CommentsParameterEditor(Parameter model)
throws Exception
Exception| Method Detail |
|---|
protected void addWidget()
addWidget in class AbstractParameterEditorOld
protected void jbInit()
throws Exception
jbInit in class AbstractParameterEditorOldExceptionpublic void focusLost(FocusEvent e)
focusLost in interface FocusListenerfocusLost in class AbstractParameterEditorOldpublic void setParameter(Parameter model)
setParameter in interface ParameterEditorsetParameter in class AbstractParameterEditorOldpublic void refreshParamEditor()
refreshParamEditor in interface ParameterEditorrefreshParamEditor in class AbstractParameterEditorOld
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||