|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--javax.swing.JPanel
|
+--com.elegantj.graphx.GeneralProperty
Create General Property panel
| Field Summary | |
protected int |
m_GraphType
|
protected HashtableEx |
m_hLabelPropertyTable
|
static int[] |
m_HorAlignAV
|
static java.lang.String[] |
m_HorAlignDV
|
static java.lang.String[] |
m_LabelAlignDV
|
static int[] |
m_MOAlignAV
|
static java.lang.String[] |
m_MOAlignDV
|
protected GraphPanel |
m_Object
|
protected javax.swing.JPanel |
m_Parent
|
static int[] |
m_VertAlignAV
|
static java.lang.String[] |
m_VertAlignDV
|
protected javax.swing.JRadioButton |
rbDoubleYAxis
|
protected javax.swing.JRadioButton |
rbSingleYAxis
|
javax.swing.JComboBox |
xAxislabelAlignChoice
|
javax.swing.JComboBox |
xAxisNameAlignChoice
|
javax.swing.JComboBox[] |
yAxisNameAlignChoice
|
| 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 | |
GeneralProperty(javax.swing.JPanel parent,
GraphPanel inDataObject)
|
|
GeneralProperty(javax.swing.JPanel parent,
GraphPanel inDataObject,
boolean bStandAlone)
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
|
protected void |
addYAxisNameAlignChoice(javax.swing.JComboBox alignChoice)
Adds Alignment ComboBox to be notified for any change |
void |
getAxisNameChoice(int graphType)
|
java.lang.Object |
getHashTableValue(java.lang.String propertyName)
Get value of given property from Hashtable |
java.lang.Object |
getHashTableValues(java.lang.String propertyName)
get property to Hashtable |
int |
getHorizontalAlign(javax.swing.JComboBox choice)
|
java.awt.Insets |
getInsets()
|
int |
getVerticalAlign(javax.swing.JComboBox choice)
|
void |
init()
Create Property panel |
void |
initComponent()
Initialize components |
void |
initGraphTypeValues()
|
void |
initSingleYaxisProp()
|
static boolean |
isAreaGraph(int graphtype)
|
static boolean |
isBarGraph(int graphtype)
|
static boolean |
isCandleGraph(int graphtype)
|
static boolean |
isHistogramGraph(int graphtype)
|
static boolean |
isLineGraph(int graphtype)
|
static boolean |
isPieGraph(int graphtype)
|
static boolean |
isRadarGraph(int graphtype)
|
static boolean |
isScatterGraph(int graphtype)
|
void |
itemStateChanged(java.awt.event.ItemEvent evt)
Processing Item selection change event |
void |
okClicked()
|
void |
propertyChange(java.beans.PropertyChangeEvent evt)
|
protected void |
removeEntryFromHashtable(java.lang.Object key)
removeEntryFromHashtable remove entry for property not required in subclass |
void |
setAxisNameChoice(int graphType)
|
void |
setHashTableValues(java.lang.String propertyName,
java.lang.Object value)
Set property to Hashtable |
void |
setHorizontalAlign(javax.swing.JComboBox choice,
int align)
|
void |
setText(javax.swing.JTextField textComp,
java.lang.String text)
|
void |
setVerticalAlign(javax.swing.JComboBox choice,
int align)
|
void |
updateSingleYAxis(java.lang.Object value)
|
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, 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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected javax.swing.JRadioButton rbSingleYAxis
protected javax.swing.JRadioButton rbDoubleYAxis
protected javax.swing.JPanel m_Parent
protected GraphPanel m_Object
protected HashtableEx m_hLabelPropertyTable
public javax.swing.JComboBox xAxisNameAlignChoice
public javax.swing.JComboBox xAxislabelAlignChoice
public javax.swing.JComboBox[] yAxisNameAlignChoice
public static java.lang.String[] m_VertAlignDV
public static int[] m_VertAlignAV
public static java.lang.String[] m_HorAlignDV
public static int[] m_HorAlignAV
public static java.lang.String[] m_MOAlignDV
public static int[] m_MOAlignAV
public static java.lang.String[] m_LabelAlignDV
protected int m_GraphType
| Constructor Detail |
public GeneralProperty(javax.swing.JPanel parent,
GraphPanel inDataObject)
public GeneralProperty(javax.swing.JPanel parent,
GraphPanel inDataObject,
boolean bStandAlone)
| Method Detail |
public void init()
public void initGraphTypeValues()
public void initComponent()
public void setText(javax.swing.JTextField textComp,
java.lang.String text)
public void okClicked()
protected void addYAxisNameAlignChoice(javax.swing.JComboBox alignChoice)
public void setAxisNameChoice(int graphType)
public void getAxisNameChoice(int graphType)
public void setHorizontalAlign(javax.swing.JComboBox choice,
int align)
public int getHorizontalAlign(javax.swing.JComboBox choice)
public void setVerticalAlign(javax.swing.JComboBox choice,
int align)
public int getVerticalAlign(javax.swing.JComboBox choice)
public void itemStateChanged(java.awt.event.ItemEvent evt)
itemStateChanged in interface java.awt.event.ItemListenerevt - Item eventpublic void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed in interface java.awt.event.ActionListenerpublic void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListener
public void setHashTableValues(java.lang.String propertyName,
java.lang.Object value)
propertyName - value - public java.lang.Object getHashTableValues(java.lang.String propertyName)
propertyName -
public java.lang.Object getHashTableValue(java.lang.String propertyName)
propertyName - the property name
protected void removeEntryFromHashtable(java.lang.Object key)
public java.awt.Insets getInsets()
getInsets in class javax.swing.JComponentpublic void updateSingleYAxis(java.lang.Object value)
public void initSingleYaxisProp()
public static boolean isBarGraph(int graphtype)
public static boolean isLineGraph(int graphtype)
public static boolean isScatterGraph(int graphtype)
public static boolean isAreaGraph(int graphtype)
public static boolean isHistogramGraph(int graphtype)
public static boolean isPieGraph(int graphtype)
public static boolean isCandleGraph(int graphtype)
public static boolean isRadarGraph(int graphtype)
|
ElegantJCharts Java API Specification v2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||