|
||||||||||
| 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
com.jstatcom.equation.EqTerm
com.jstatcom.equation.EqTermAR
public final class EqTermAR
Implementation of EqTerm that represents one or more lags of a
(Vector) AR model.
Clients should make sure that the underlying data objects have the correct dimensions and ordering of variables for the display to be in sync with the data.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.BaselineResizeBehavior |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, 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 | |
|---|---|
EqTermAR()
Constructor. |
|
| Method Summary | |
|---|---|
void |
addNotify()
Calls supermethod and updates layout in a new thread. |
int |
getColumnWidth()
Gets the column width of the alpha table. |
java.awt.event.MouseListener |
getMouseListenerCoeff()
Gets the mouse listener of the underlying coefficients tables. |
int |
getPrecision()
Gets the precision of the underlying coefficients tables. |
javax.swing.table.TableCellRenderer |
getRendererCoeff()
Gets the cell renderer of the underlying coefficients tables. |
int |
getStartLag()
Gets the lag that this equation term starts with. |
java.lang.String |
getSymbolNameCoeff()
Gets the symbolname for the coefficients. |
java.lang.String |
getSymbolNameLags()
Gets the symbolname for the lags. |
java.lang.String |
getSymbolNameSubsetRes()
Gets the symbolname for the subset restrictions corresponding to the coefficients. |
java.lang.String |
getSymbolNameVariables()
Gets the symbolname for the names of the variables. |
javax.swing.JPopupMenu |
getTablePopup()
Gets the popup menu for the underlying coefficients tables. |
boolean |
isEditable()
Gets whether the underlying coefficients tables are editable. |
void |
propertyChange(java.beans.PropertyChangeEvent evt)
Manages visibility of tis term. |
void |
setColumnWidth(int colWidth)
Sets the column width of the underlying coefficients tables. |
void |
setEditable(boolean isEditable)
Sets whether the underlying coefficients tables are editable. |
void |
setLeadingSignVisible(boolean isVisible)
Manages visibility of the leading sign label. |
void |
setMouseListenerCoeff(java.awt.event.MouseListener listener)
Sets the mouse listener for the underlying coefficients tables. |
void |
setPrecision(int precision)
Sets the precision for the underlying coefficients tables. |
void |
setRendererCoeff(javax.swing.table.TableCellRenderer renderer)
Sets the cell renderer for the underlying coefficients tables. |
void |
setStartLag(int startLag)
Sets with which lag the equation term starts with. |
void |
setSymbolNameCoeff(java.lang.String symbolName)
Sets the symbolname for the coefficients. |
void |
setSymbolNameLags(java.lang.String newSymbolNameLags)
Sets the symbolname for the lags. |
void |
setSymbolNameSubsetRes(java.lang.String symbolName)
Sets the symbolname for the subset restrictions corresponding to the coefficients. |
void |
setSymbolNameVariables(java.lang.String symbolName)
Sets the symbolname for the names of the variables. |
void |
setSymbolScope(Scope scope)
Sets the symbol scope, which defines which symbol table to use ( local,global or upper). |
void |
setTablePopup(javax.swing.JPopupMenu newTablePopup)
Sets the popup menu for the underlying coefficients tables. |
void |
valueChanged(SymbolEvent evt)
Updates layout on symbol events of the underlying lag symbol. |
| Methods inherited from class com.jstatcom.equation.EqTerm |
|---|
getMaximumSize, getMinimumSize, getPreferredSize, getSymbolScope, setDataAvailable, setVisible |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EqTermAR()
| Method Detail |
|---|
public void addNotify()
addNotify in class javax.swing.JComponentpublic int getColumnWidth()
public java.awt.event.MouseListener getMouseListenerCoeff()
public int getPrecision()
public javax.swing.table.TableCellRenderer getRendererCoeff()
public int getStartLag()
public java.lang.String getSymbolNameCoeff()
public java.lang.String getSymbolNameLags()
JSCInt.
public java.lang.String getSymbolNameSubsetRes()
public java.lang.String getSymbolNameVariables()
public javax.swing.JPopupMenu getTablePopup()
public boolean isEditable()
true if editablepublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerevt - property change eventpublic void setColumnWidth(int colWidth)
colWidth - column widthpublic void setEditable(boolean isEditable)
isEditable - true if editablepublic void setLeadingSignVisible(boolean isVisible)
setLeadingSignVisible in class EqTermisVisible - true if visiblepublic void setSymbolScope(Scope scope)
local,global or upper).
setSymbolScope in class EqTermscope - the symbol scope
java.lang.IllegalArgumentException - if (scope == null)public void setMouseListenerCoeff(java.awt.event.MouseListener listener)
listener - java.awt.event.MouseListenerpublic void setPrecision(int precision)
precision - public void setRendererCoeff(javax.swing.table.TableCellRenderer renderer)
renderer - javax.swing.table.TableCellRendererpublic void setStartLag(int startLag)
startLag - lag to start from
java.lang.IllegalArgumentException - if (startLag < 0)public void setSymbolNameCoeff(java.lang.String symbolName)
symbolName - for coefficientspublic void setSymbolNameLags(java.lang.String newSymbolNameLags)
JSCInt.
newSymbolNameLags - public void setSymbolNameSubsetRes(java.lang.String symbolName)
symbolName - for subset restrictionspublic void setSymbolNameVariables(java.lang.String symbolName)
symbolName - for the variable namespublic void setTablePopup(javax.swing.JPopupMenu newTablePopup)
newTablePopup - popup componentpublic void valueChanged(SymbolEvent evt)
valueChanged in interface SymbolListenerevt - symbol event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||