JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart.beans
Class MultiChart

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--com.klg.jclass.chart.JCChart
                          |
                          +--com.klg.jclass.chart.beans.MultiChart
All Implemented Interfaces:
AncestorListener, Changeable, Changeable, EventListener, ImageObserver, com.klg.jclass.util.JCName, KeyListener, LegendComponentLayoutUser, MenuContainer, MouseListener, MouseMotionListener, RenderProperties, Serializable, com.klg.jclass.util.ServerRenderable

public class MultiChart
extends JCChart

A derived class that enables JClass Chart to be used at design-time with Bean-compliant Java IDEs (Integrated Development Environments).

This class differs from JCChart in the following ways:

  1. MultiChart exposes properties that are actually defined in JCChart's sub-objects so that IDEs can access them.
  2. MultiChart manages two data views, two x axes and two y axes. Properties on these items can be set for all instances of the item.

The following table lists the properties this class can set/get.

Properties

Name Description
AxisAnnotations The AxisAnnotations property accesses the AnnotationMethod, AnnotationRotation, font, and gap properties of an axis.
AxisGrid The AxisGrid property accesses the GridVisible and GridSpacing properties of the axis, and the LinePattern, LineColor, and LineWidth properties of the axis' GridStyle property.
AxisAnnotations The AxisAnnotations property accesses the AnnotationMethod, AnnotationRotation, font, and gap properties of an axis.
AxisMisc The AxisMisc property accesses the Visible, Editable, and Logarithmic properties of an axis.
AxisOrientation The AxisOrientation property accesses the Reversed property of an axis and the Inverted property of the related data view.
AxisOrigin The AxisOrigin property accesses the Origin and OriginPlacement properties of an axis.
AxisPlacement The AxisPlacement property accesses the Placement, PlacementAxis, and PlacementLocation properties of an axis.
AxisPointLabels The AxisPointLabels property accesses the PointLabels property of the data view related to an axis.
AxisRelationship The AxisRelationship property accesses the Originator, Constant, and Multiplier properties of an axis' Formula property.
AxisScale The AxisScale property accesses the Min, Max, NumSpacing, TickSpacing, and Precision properties of an axis.
AxisTimeLabels The AxisTimeLabels property accesses the TimeBase, TimeFormat, and TimeUnit properties of an axis.
AxisTitle The AxisTitle property accesses the Text, Rotation, Placement, and Font properties of an axis' Title property.
AxisValueLabels The AxisValueLabels property accesses the ValueLabels property of an axis.
PolarRadar The PolarRadar property accesses the OriginBase, YAxisAngle, AngleUnit, HalfRange, and RadarCircularGrid properties of a Polar/Radar chart.
ChartAppearance The ChartAppearance property accesses the Background, Foreground, BorderType, and BorderWidth properties of the Chart object.
ChartAreaAppearance The ChartAreaAppearance property accesses the Background, Foreground, Visible, and Opaque properties of the ChartArea object.
DataChart The DataChart property accesses the ChartType, XAxis, and YAxis properties of a data view.
DataMisc The DataChart property accesses the Visible, VisibleInLegend, DrawFrontPlane, and AutoLabel properties of a data view.
DataSource The DataSource property accesses the DataSource property of a data view.
FooterAppearance The FooterAppearance property accesses the Background, Foreground, Visible, and Opaque properties of the Footer object.
FooterText The FooterText property accesses the Font and Text properties of the chart's footer (by default, a JLabel instance).
HeaderAppearance The HeaderAppearance property accesses the Background, Foreground, Visible, and Opaque properties of the Header object.
HeaderText The HeaderText property accesses the Font and Text properties of the chart's header (by default, a JLabel instance).
LegendAppearance The LegendAppearance property accesses the Background, Foreground, Visible, and Opaque properties of the Legend object.
LegendLayout The LegendLayout property accesses the Orientation and Anchor properties of the Legend object.
PlotAreaAppearance The PlotAreaAppearance property accesses the Background, Foreground, and AxisBoundingBox properties of the PlotArea object.
SwingDataModel1
SwingDataModel2
SwingDataModel1 sets the data source for the first data view to use a specified Swing TableModel object, instead of the DataSource property. The SwingDataModel2 property does the same for the second data view.
TriggerList The TriggerList property accesses the Trigger property of the Chart object.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
static String[] axesOrientationStrings
          Array of String representations of axis orientation values.
static int[] axesOrientationValues
          Array of axis orientation values.
static String[] AXIS_RADIO_IDS
          List of axis IDs for use in multi-axis property editors.
static String[] AXIS_RADIO_NAMES
          List of axis names for use in multi-axis property editors.
static String AXIS_RADIO_TITLE
          Title of multi-axis property editors.
protected  com.klg.jclass.chart.JCAxis[] axisArray
           
protected  String[] data
           
static String[] DATA_RADIO_IDS
          List of data view IDs for use in multi-data property editors.
static String[] DATA_RADIO_NAMES
          List of data view names for use in multi-data property editors.
static String DATA_RADIO_TITLE
          Title of multi-data property editors.
protected  String[] dataOther
           
 com.klg.jclass.chart.ChartDataSupport dataSource
          JCSwingDataSource used to populate first data view, if one is being used.
 com.klg.jclass.chart.ChartDataSupport dataSource2
          JCSwingDataSource used to populate second data view, if one is being used.
protected  com.klg.jclass.chart.ChartDataView[] dataViewArray
           
static int OBJ_CHART
           
static int OBJ_JCOMPONENT
           
static int OBJ_PLOT_AREA
           
static int OBJ_UNKNOWN
          Enums for possible objects for Appearance properties.
static int ORIENT_INVERTED_X_NORMAL_Y_NORMAL
           
static int ORIENT_INVERTED_X_NORMAL_Y_REVERSED
           
static int ORIENT_INVERTED_X_REVERSED_Y_NORMAL
           
static int ORIENT_INVERTED_X_REVERSED_Y_REVERSED
           
static int ORIENT_X_NORMAL_Y_NORMAL
          Enums for axis orientation values.
static int ORIENT_X_NORMAL_Y_REVERSED
           
static int ORIENT_X_REVERSED_Y_NORMAL
           
static int ORIENT_X_REVERSED_Y_REVERSED
           
 TableModel tableModel
          TableModel used to populate first data view, if one is being used.
 TableModel tableModel2
          TableModel used to populate second data view, if one is being used.
 
Fields inherited from class com.klg.jclass.chart.JCChart
antiAliasing, AREA, AREA_RADAR, BAR, cancelKey, CANDLE, chartApplet, chartArea, chartAreaLayoutHints, chartLabelManager, customizer, customizerName, ERRMSG_INVALID_TRIGGER_INDEX, fillColorIndex, footer, footerImageMapInfo, footerLayoutHints, header, headerImageMapInfo, headerLayoutHints, HILO, HILO_OPEN_CLOSE, imageMapInfo, LAST_PREDEFINED_CHART_TYPE, layoutDone, legend, legendLayoutHints, legendManager, lineColorIndex, listeners, locale, NONE, pickListeners, PIE, PLOT, POLAR, prevSetGraphics, queryGraphics, RADAR, resetKey, SCATTER_PLOT, STACKING_AREA, STACKING_BAR, symbolColorIndex, symbolShapeIndex, triggers, userObject, usingDoublePixels
 
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 com.klg.jclass.chart.Changeable
BASIC_CHANGE_MASK, NOTIFY_AXES_RECALC, NOTIFY_AXES_REDRAW, NOTIFY_CA_RECALC, NOTIFY_CA_REDRAW, NOTIFY_LEGEND_RECALC, NOTIFY_LEGEND_REDRAW
 
Fields inherited from interface com.klg.jclass.util.Changeable
LAYOUT, NO_CHANGE, NOTIFY_PARENT_LAYOUT, RECALC, REDRAW
 
Fields inherited from interface com.klg.jclass.util.RenderProperties
ANTI_ALIASING_DEFAULT, ANTI_ALIASING_OFF, ANTI_ALIASING_ON
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
MultiChart()
          Basic constructor.
 
Method Summary
 com.klg.jclass.chart.beans.AxisAnnoWrapper getAxisAnnotations()
          Gets the values of the properties encapsulated in the AxisAnnotations property.
 com.klg.jclass.chart.beans.AxisGridWrapper getAxisGrid()
          Gets the values of the properties encapsulated in the AxisGrid property.
 com.klg.jclass.chart.beans.AxisMiscWrapper getAxisMisc()
          Gets the values of the properties encapsulated in the AxisMisc property.
 com.klg.jclass.chart.beans.AxisOrientationWrapper getAxisOrientation()
          Gets the values of the properties encapsulated in the AxisOrientation property.
 com.klg.jclass.chart.beans.AxisOriginWrapper getAxisOrigin()
          Gets the values of the properties encapsulated in the AxisOrigin property.
 com.klg.jclass.chart.beans.AxisPlacementWrapper getAxisPlacement()
          Gets the values of the properties encapsulated in the AxisPlacement property.
 com.klg.jclass.chart.beans.AxisPointLabelWrapper getAxisPointLabels()
          Gets the values of the properties encapsulated in the AxisPointLabels property.
 com.klg.jclass.chart.beans.AxisRelationshipWrapper getAxisRelationship()
          Gets the values of the properties encapsulated in the AxisRelationship property.
 com.klg.jclass.chart.beans.AxisScaleWrapper getAxisScale()
          Gets the values of the properties encapsulated in the AxisScale property.
 com.klg.jclass.chart.beans.AxisTimeLabelWrapper getAxisTimeLabels()
          Gets the values of the properties encapsulated in the AxisTimeLabels property.
 com.klg.jclass.chart.beans.AxisTitleWrapper getAxisTitle()
          Gets the values of the properties encapsulated in the AxisTitle property.
 com.klg.jclass.chart.beans.AxisValueLabelWrapper getAxisValueLabels()
          Gets the values of the properties encapsulated in the AxisValueLabels property.
 com.klg.jclass.chart.beans.AppearanceWrapper getChartAppearance()
          Gets the values of the properties encapsulated in the ChartAppearance property.
 com.klg.jclass.chart.beans.AppearanceWrapper getChartAreaAppearance()
          Gets the values of the properties encapsulated in the ChartAreaAppearance property.
 com.klg.jclass.chart.beans.MultiDataChartWrapper getDataChart()
          Gets the values of the properties encapsulated in the DataChart property.
 com.klg.jclass.chart.beans.MultiDataMiscWrapper getDataMisc()
          Gets the values of the properties encapsulated in the DataMisc property.
 com.klg.jclass.chart.beans.MultiDataSourceWrapper getDataSource()
          Gets the value of the data property.
 com.klg.jclass.chart.beans.AppearanceWrapper getFooterAppearance()
          Gets the values of the properties encapsulated in the FooterAppearance property.
 com.klg.jclass.chart.beans.TitleWrapper getFooterText()
          Gets the values of the properties encapsulated in the FooterText property.
 com.klg.jclass.chart.beans.AppearanceWrapper getHeaderAppearance()
          Gets the values of the properties encapsulated in the HeaderAppearance property.
 com.klg.jclass.chart.beans.TitleWrapper getHeaderText()
          Gets the values of the properties encapsulated in the HeaderText property.
 com.klg.jclass.chart.beans.AppearanceWrapper getLegendAppearance()
          Gets the values of the properties encapsulated in the LegendAppearance property.
 com.klg.jclass.chart.beans.LegendWrapper getLegendLayout()
          Gets the values of the properties encapsulated in the LegendLayout property.
 com.klg.jclass.chart.beans.OutlineStyleWrapper getOutlineStyle()
          Gets the value of the OutlineStyle property.
 com.klg.jclass.chart.beans.AppearanceWrapper getPlotAreaAppearance()
          Gets the values of the properties encapsulated in the PlotAreaAppearance property.
 com.klg.jclass.chart.beans.PolarRadarWrapper getPolarRadar()
          Gets the value of the PolarRadar property.
 TableModel getSwingDataModel1()
          Gets the Swing TableModel instance being used to populate the data source of the first data view.
 TableModel getSwingDataModel2()
          Gets the Swing TableModel instance being used to populate the data source of the second data view.
 com.klg.jclass.chart.beans.TriggerWrapper getTriggerList()
          Gets the values of the properties encapsulated in the TriggerList property.
 String getView3D()
          Gets the value of the View3D property.
 void setAxisAnnotations(com.klg.jclass.chart.beans.AxisAnnoWrapper aaw)
          Sets the values of the properties encapsulated in the AxisAnnotations property.
 void setAxisGrid(com.klg.jclass.chart.beans.AxisGridWrapper agw)
          Sets the values of the properties encapsulated in the AxisGrid property.
 void setAxisMisc(com.klg.jclass.chart.beans.AxisMiscWrapper agw)
          Sets the values of the properties encapsulated in the AxisMisc property.
 void setAxisOrientation(com.klg.jclass.chart.beans.AxisOrientationWrapper aow)
          Sets the values of the properties encapsulated in the AxisOrientation property.
 void setAxisOrigin(com.klg.jclass.chart.beans.AxisOriginWrapper aow)
          Sets the values of the properties encapsulated in the AxisOrigin property.
 void setAxisPlacement(com.klg.jclass.chart.beans.AxisPlacementWrapper apw)
          Sets the values of the properties encapsulated in the AxisPlacement property.
 void setAxisPointLabels(com.klg.jclass.chart.beans.AxisPointLabelWrapper apw)
          Sets the values of the properties encapsulated in the AxisPointLabels property.
 void setAxisRelationship(com.klg.jclass.chart.beans.AxisRelationshipWrapper arw)
          Sets the values of the properties encapsulated in the AxisRelationship property.
 void setAxisScale(com.klg.jclass.chart.beans.AxisScaleWrapper asw)
          Sets the values of the properties encapsulated in the AxisScale property.
 void setAxisTimeLabels(com.klg.jclass.chart.beans.AxisTimeLabelWrapper axis_time_label_wrapper)
          Sets the values of the properties encapsulated in the AxisTimeLabels property.
 void setAxisTitle(com.klg.jclass.chart.beans.AxisTitleWrapper atw)
          Sets the values of the properties encapsulated in the AxisTitle property.
 void setAxisValueLabels(com.klg.jclass.chart.beans.AxisValueLabelWrapper avw)
          Sets the values of the properties encapsulated in the AxisValueLabels property.
 void setChartAppearance(com.klg.jclass.chart.beans.AppearanceWrapper cw)
          Sets the values of the properties encapsulated in the ChartAppearance property.
 void setChartAreaAppearance(com.klg.jclass.chart.beans.AppearanceWrapper cw)
          Sets the values of the properties encapsulated in the ChartAreaAppearance property.
 void setDataChart(com.klg.jclass.chart.beans.MultiDataChartWrapper mdcw)
          Sets the values of the properties encapsulated in the DataChart property.
 void setDataMisc(com.klg.jclass.chart.beans.MultiDataMiscWrapper mdgw)
          Sets the values of the properties encapsulated in the DataMisc property.
 void setDataSource(com.klg.jclass.chart.beans.MultiDataSourceWrapper dsw)
          Sets the value of the data property.
 void setFooterAppearance(com.klg.jclass.chart.beans.AppearanceWrapper fw)
          Sets the values of the properties encapsulated in the FooterAppearance property.
 void setFooterText(com.klg.jclass.chart.beans.TitleWrapper fw)
          Sets the values of the properties encapsulated in the FooterText property.
 void setHeaderAppearance(com.klg.jclass.chart.beans.AppearanceWrapper hw)
          Sets the values of the properties encapsulated in the HeaderAppearance property.
 void setHeaderText(com.klg.jclass.chart.beans.TitleWrapper hw)
          Sets the values of the properties encapsulated in the HeaderText property.
 void setLegendAppearance(com.klg.jclass.chart.beans.AppearanceWrapper lw)
          Sets the values of the properties encapsulated in the LegendAppearance property.
 void setLegendLayout(com.klg.jclass.chart.beans.LegendWrapper lw)
          Sets the values of the properties encapsulated in the LegendLayout property.
 void setOutlineStyle(com.klg.jclass.chart.beans.OutlineStyleWrapper osw)
          Sets the value of the OutlineStyle property.
 void setPlotAreaAppearance(com.klg.jclass.chart.beans.AppearanceWrapper pw)
          Sets the values of the properties encapsulated in the PlotAreaAppearance property.
 void setPolarRadar(com.klg.jclass.chart.beans.PolarRadarWrapper prw)
          Sets the value of the PolarRadar property.
 void setSwingDataModel1(TableModel model)
          Sets the data source of the first data view to be derived from the provided instance of the Swing TableModel.
 void setSwingDataModel2(TableModel model)
          Sets the data source of the second data view to be derived from the provided instance of the Swing TableModel.
 void setTriggerList(com.klg.jclass.chart.beans.TriggerWrapper tw)
          Sets the values of the properties encapsulated in the TriggerList property.
 void setView3D(String s)
          Sets the value of the View3D property.
 
Methods inherited from class com.klg.jclass.chart.JCChart
addChartListener, addDataView, addNotify, addPickListener, addTrigger, addTrigger, ancestorAdded, ancestorMoved, ancestorRemoved, cancel, createChartArea, createFooter, createHeader, createLegend, createLocalImage, createQueryGraphics, createToolTip, disableChartEvents, disposeQueryGraphics, doLayout, enableChartEvents, findData, findDataView, findDataViewIndex, findMatchingTrigger, firePaint, getAbout, getAllowUserChanges, getAntiAliasing, getCancelKey, getChanged, getChanged, getChartArea, getChartLabelManager, getComponentArea, getComponentAt, getCustomizerName, getDataView, getDataView, getDrawingArea, getDrawingArea, getDrawingAreaHeight, getDrawingAreaWidth, getFillColorIndex, getFooter, getFooterImageMapInfo, getGraphics, getHeader, getHeaderImageMapInfo, getImageMapInfo, getLayoutHints, getLegend, getLicense, getLineColorIndex, getLocale, getNumData, getNumTriggers, getOriginalDataView, getQueryGraphics, getResetKey, getSource, getSymbolColorIndex, getSymbolShapeIndex, getToolTipLocation, getToolTipText, getTrigger, getUI, getUIClassID, getUserObject, hasChartLabelManager, init, isBatched, isChanged, isChanged, isFocusTraversable, isUsingDoublePixels, isWarningDialog, keyPressed, keyReleased, keyTyped, launchPropertyPage, main, makeChart, moreAddNotify, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, paintChildren, paintComponent, pick, printAll, processKeyEvent, processMouseEvent, processMouseMotionEvent, recalc, registerUI, removeChartListener, removeDataView, removePickListener, removeTrigger, reorderDataViews, requestFocus, reset, resetDefaults, rotate, rotateEnd, rotateStart, scale, sendEvent, sendPickEvent, serverPaint, serverSnapshot, setAbout, setAllowUserChanges, setAntiAliasing, setBackground, setBatched, setCancelKey, setChanged, setChanged, setChartArea, setChartLabelManager, setCustomizerName, setDataView, setDataView, setFillColorIndex, setFont, setFooter, setFooterImageMapInfo, setForeground, setGraphics, setHeader, setHeaderImageMapInfo, setImageMapInfo, setLayoutHints, setLegend, setLicense, setLineColorIndex, setLocale, setOpaque, setResetKey, setSymbolColorIndex, setSymbolShapeIndex, setTrigger, setUI, setUserObject, setUsingDoublePixels, setWarningDialog, snapshot, snapshot, snapshot, translate, translateStart, unpick, unpick, update, updateUI, zoom
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintBorder, paintImmediately, paintImmediately, paramString, print, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, findComponentAt, findComponentAt, getComponent, 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, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, 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, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, 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
 
Methods inherited from interface com.klg.jclass.util.legend.LegendComponentLayoutUser
getPreferredSize
 
Methods inherited from interface com.klg.jclass.util.JCName
getName, setName
 

Field Detail

AXIS_RADIO_NAMES

public static final String[] AXIS_RADIO_NAMES
List of axis names for use in multi-axis property editors. Must match logically with AXIS_RADIO_IDS array below.


AXIS_RADIO_IDS

public static final String[] AXIS_RADIO_IDS
List of axis IDs for use in multi-axis property editors. Must match logically with AXIS_RADIO_NAMES array above.


AXIS_RADIO_TITLE

public static final String AXIS_RADIO_TITLE
Title of multi-axis property editors.


DATA_RADIO_NAMES

public static final String[] DATA_RADIO_NAMES
List of data view names for use in multi-data property editors. Must match logically with DATA_RADIO_IDS array below.


DATA_RADIO_IDS

public static final String[] DATA_RADIO_IDS
List of data view IDs for use in multi-data property editors. Must match logically with AXIS_RADIO_NAMES array below.


DATA_RADIO_TITLE

public static final String DATA_RADIO_TITLE
Title of multi-data property editors.


ORIENT_X_NORMAL_Y_NORMAL

public static final int ORIENT_X_NORMAL_Y_NORMAL
Enums for axis orientation values.

See Also:
Constant Field Values

ORIENT_X_REVERSED_Y_NORMAL

public static final int ORIENT_X_REVERSED_Y_NORMAL
See Also:
Constant Field Values

ORIENT_X_NORMAL_Y_REVERSED

public static final int ORIENT_X_NORMAL_Y_REVERSED
See Also:
Constant Field Values

ORIENT_X_REVERSED_Y_REVERSED

public static final int ORIENT_X_REVERSED_Y_REVERSED
See Also:
Constant Field Values

ORIENT_INVERTED_X_NORMAL_Y_NORMAL

public static final int ORIENT_INVERTED_X_NORMAL_Y_NORMAL
See Also:
Constant Field Values

ORIENT_INVERTED_X_REVERSED_Y_NORMAL

public static final int ORIENT_INVERTED_X_REVERSED_Y_NORMAL
See Also:
Constant Field Values

ORIENT_INVERTED_X_NORMAL_Y_REVERSED

public static final int ORIENT_INVERTED_X_NORMAL_Y_REVERSED
See Also:
Constant Field Values

ORIENT_INVERTED_X_REVERSED_Y_REVERSED

public static final int ORIENT_INVERTED_X_REVERSED_Y_REVERSED
See Also:
Constant Field Values

axesOrientationValues

public static final int[] axesOrientationValues
Array of axis orientation values.


axesOrientationStrings

public static final String[] axesOrientationStrings
Array of String representations of axis orientation values.


OBJ_UNKNOWN

public static final int OBJ_UNKNOWN
Enums for possible objects for Appearance properties.

See Also:
Constant Field Values

OBJ_JCOMPONENT

public static final int OBJ_JCOMPONENT
See Also:
Constant Field Values

OBJ_PLOT_AREA

public static final int OBJ_PLOT_AREA
See Also:
Constant Field Values

OBJ_CHART

public static final int OBJ_CHART
See Also:
Constant Field Values

axisArray

protected com.klg.jclass.chart.JCAxis[] axisArray

dataViewArray

protected com.klg.jclass.chart.ChartDataView[] dataViewArray

data

protected String[] data

dataOther

protected String[] dataOther

tableModel

public TableModel tableModel
TableModel used to populate first data view, if one is being used.


tableModel2

public TableModel tableModel2
TableModel used to populate second data view, if one is being used.


dataSource

public com.klg.jclass.chart.ChartDataSupport dataSource
JCSwingDataSource used to populate first data view, if one is being used.


dataSource2

public com.klg.jclass.chart.ChartDataSupport dataSource2
JCSwingDataSource used to populate second data view, if one is being used.

Constructor Detail

MultiChart

public MultiChart()
Basic constructor. Use default data.

Method Detail

getDataSource

public com.klg.jclass.chart.beans.MultiDataSourceWrapper getDataSource()
Gets the value of the data property. The data property controls the file or URL used for the sets of data in the chart.

Returns:
value of the data property

setDataSource

public void setDataSource(com.klg.jclass.chart.beans.MultiDataSourceWrapper dsw)
Sets the value of the data property. The data property controls the file or URL used for the sets of data in the chart.

Parameters:
dsw -

getDataChart

public com.klg.jclass.chart.beans.MultiDataChartWrapper getDataChart()
Gets the values of the properties encapsulated in the DataChart property.

Returns:
values of the properties encapsulated in the DataChart property

setDataChart

public void setDataChart(com.klg.jclass.chart.beans.MultiDataChartWrapper mdcw)
Sets the values of the properties encapsulated in the DataChart property.

Parameters:
mdcw -

getDataMisc

public com.klg.jclass.chart.beans.MultiDataMiscWrapper getDataMisc()
Gets the values of the properties encapsulated in the DataMisc property.

Returns:
values of the properties encapsulated in the DataMisc property

setDataMisc

public void setDataMisc(com.klg.jclass.chart.beans.MultiDataMiscWrapper mdgw)
Sets the values of the properties encapsulated in the DataMisc property.

Parameters:
mdgw -

getView3D

public String getView3D()
Gets the value of the View3D property. This property combines the values of the Depth, Elevation, and Rotation properties defined in JCChartArea. Depth controls the apparent depth of a graph. Elevation controls the distance above the x axis for the 3D effect. Rotation controls the position of the eye relative to the y axis for the 3D effect.

Returns:
value of Depth, Elevation, and Rotation properties respectively, separated by commas
See Also:
JCChartArea.getDepth(), JCChartArea.getElevation(), JCChartArea.getRotation()

setView3D

public void setView3D(String s)
Sets the value of the View3D property. This property controls the apparent depth of a graph by combining the values of the Depth, Elevation, and Rotation properties defined in JCChartArea. Depth controls the apparent depth of a graph. Elevation controls the distance above the x axis for the 3D effect. Rotation controls the position of the eye relative to the y axis for the 3D effect.

Parameters:
s - value of Depth, Elevation, and Rotation properties respectively, separated by commas
See Also:
JCChartArea.setDepth(int), JCChartArea.setElevation(int), JCChartArea.setRotation(int)

getOutlineStyle

public com.klg.jclass.chart.beans.OutlineStyleWrapper getOutlineStyle()
Gets the value of the OutlineStyle property. This property combines the values of Width, Color, Pattern, Join, and Cap defined in the JCLineStyle class.

Returns:
value of the OutlineStyle property

setOutlineStyle

public void setOutlineStyle(com.klg.jclass.chart.beans.OutlineStyleWrapper osw)
Sets the value of the OutlineStyle property. This property combines the values of Width, Color, Pattern, Join, and Cap defined in the JCLineStyle class.

Parameters:
osw -

getPolarRadar

public com.klg.jclass.chart.beans.PolarRadarWrapper getPolarRadar()
Gets the value of the PolarRadar property. This property combines the values of OriginBase, YAxisAngle, AngleUnit, HalfRange, and CircularRadarGrid.

Returns:
value of the PolarRadar property

setPolarRadar

public void setPolarRadar(com.klg.jclass.chart.beans.PolarRadarWrapper prw)
Sets the value of the PolarRadar property. This property combines the values of OriginBase, YAxisAngle, AngleUnit, HalfRange, and CircularRadarGrid.

Parameters:
prw -

getAxisMisc

public com.klg.jclass.chart.beans.AxisMiscWrapper getAxisMisc()
Gets the values of the properties encapsulated in the AxisMisc property.

Returns:
values of the properties encapsulated in the AxisMisc property

setAxisMisc

public void setAxisMisc(com.klg.jclass.chart.beans.AxisMiscWrapper agw)
Sets the values of the properties encapsulated in the AxisMisc property.

Parameters:
agw -

getAxisScale

public com.klg.jclass.chart.beans.AxisScaleWrapper getAxisScale()
Gets the values of the properties encapsulated in the AxisScale property.

Returns:
values of the properties encapsulated in the AxisScale property

setAxisScale

public void setAxisScale(com.klg.jclass.chart.beans.AxisScaleWrapper asw)
Sets the values of the properties encapsulated in the AxisScale property.

Parameters:
asw -

getAxisAnnotations

public com.klg.jclass.chart.beans.AxisAnnoWrapper getAxisAnnotations()
Gets the values of the properties encapsulated in the AxisAnnotations property.

Returns:
values of the properties encapsulated in the AxisAnnotations property

setAxisAnnotations

public void setAxisAnnotations(com.klg.jclass.chart.beans.AxisAnnoWrapper aaw)
Sets the values of the properties encapsulated in the AxisAnnotations property.

Parameters:
aaw -

getAxisTimeLabels

public com.klg.jclass.chart.beans.AxisTimeLabelWrapper getAxisTimeLabels()
Gets the values of the properties encapsulated in the AxisTimeLabels property.

Returns:
values of the properties encapsulated in the AxisTimeLabels property

setAxisTimeLabels

public void setAxisTimeLabels(com.klg.jclass.chart.beans.AxisTimeLabelWrapper axis_time_label_wrapper)
Sets the values of the properties encapsulated in the AxisTimeLabels property.

Parameters:
axis_time_label_wrapper -

getAxisValueLabels

public com.klg.jclass.chart.beans.AxisValueLabelWrapper getAxisValueLabels()
Gets the values of the properties encapsulated in the AxisValueLabels property.

Returns:
values of the properties encapsulated in the AxisValueLabels property

setAxisValueLabels

public void setAxisValueLabels(com.klg.jclass.chart.beans.AxisValueLabelWrapper avw)
Sets the values of the properties encapsulated in the AxisValueLabels property.

Parameters:
avw -

getAxisPointLabels

public com.klg.jclass.chart.beans.AxisPointLabelWrapper getAxisPointLabels()
Gets the values of the properties encapsulated in the AxisPointLabels property.

Returns:
values of the properties encapsulated in the AxisPointLabels property

setAxisPointLabels

public void setAxisPointLabels(com.klg.jclass.chart.beans.AxisPointLabelWrapper apw)
Sets the values of the properties encapsulated in the AxisPointLabels property.

Parameters:
apw -

getAxisTitle

public com.klg.jclass.chart.beans.AxisTitleWrapper getAxisTitle()
Gets the values of the properties encapsulated in the AxisTitle property.

Returns:
values of the properties encapsulated in the AxisTitle property

setAxisTitle

public void setAxisTitle(com.klg.jclass.chart.beans.AxisTitleWrapper atw)
Sets the values of the properties encapsulated in the AxisTitle property.

Parameters:
atw -

getAxisGrid

public com.klg.jclass.chart.beans.AxisGridWrapper getAxisGrid()
Gets the values of the properties encapsulated in the AxisGrid property.

Returns:
values of the properties encapsulated in the AxisGrid property

setAxisGrid

public void setAxisGrid(com.klg.jclass.chart.beans.AxisGridWrapper agw)
Sets the values of the properties encapsulated in the AxisGrid property.

Parameters:
agw -

getAxisOrigin

public com.klg.jclass.chart.beans.AxisOriginWrapper getAxisOrigin()
Gets the values of the properties encapsulated in the AxisOrigin property.

Returns:
values of the properties encapsulated in the AxisOrigin property

setAxisOrigin

public void setAxisOrigin(com.klg.jclass.chart.beans.AxisOriginWrapper aow)
Sets the values of the properties encapsulated in the AxisOrigin property.

Parameters:
aow -

getAxisPlacement

public com.klg.jclass.chart.beans.AxisPlacementWrapper getAxisPlacement()
Gets the values of the properties encapsulated in the AxisPlacement property.

Returns:
values of the properties encapsulated in the AxisPlacement property

setAxisPlacement

public void setAxisPlacement(com.klg.jclass.chart.beans.AxisPlacementWrapper apw)
Sets the values of the properties encapsulated in the AxisPlacement property.

Parameters:
apw -

getAxisRelationship

public com.klg.jclass.chart.beans.AxisRelationshipWrapper getAxisRelationship()
Gets the values of the properties encapsulated in the AxisRelationship property.

Returns:
values of the properties encapsulated in the AxisRelationship property

setAxisRelationship

public void setAxisRelationship(com.klg.jclass.chart.beans.AxisRelationshipWrapper arw)
Sets the values of the properties encapsulated in the AxisRelationship property.

Parameters:
arw -

getAxisOrientation

public com.klg.jclass.chart.beans.AxisOrientationWrapper getAxisOrientation()
Gets the values of the properties encapsulated in the AxisOrientation property.

Returns:
values of the properties encapsulated in the AxisOrientation property

setAxisOrientation

public void setAxisOrientation(com.klg.jclass.chart.beans.AxisOrientationWrapper aow)
Sets the values of the properties encapsulated in the AxisOrientation property.

Parameters:
aow -

getLegendLayout

public com.klg.jclass.chart.beans.LegendWrapper getLegendLayout()
Gets the values of the properties encapsulated in the LegendLayout property.

Returns:
values of the properties encapsulated in the LegendLayout property

setLegendLayout

public void setLegendLayout(com.klg.jclass.chart.beans.LegendWrapper lw)
Sets the values of the properties encapsulated in the LegendLayout property.

Parameters:
lw -

getLegendAppearance

public com.klg.jclass.chart.beans.AppearanceWrapper getLegendAppearance()
Gets the values of the properties encapsulated in the LegendAppearance property.

Returns:
values of the properties encapsulated in the LegendAppearance property

setLegendAppearance

public void setLegendAppearance(com.klg.jclass.chart.beans.AppearanceWrapper lw)
Sets the values of the properties encapsulated in the LegendAppearance property.

Parameters:
lw -

getFooterAppearance

public com.klg.jclass.chart.beans.AppearanceWrapper getFooterAppearance()
Gets the values of the properties encapsulated in the FooterAppearance property.

Returns:
values of the properties encapsulated in the FooterAppearance property

setFooterAppearance

public void setFooterAppearance(com.klg.jclass.chart.beans.AppearanceWrapper fw)
Sets the values of the properties encapsulated in the FooterAppearance property.

Parameters:
fw -

getHeaderAppearance

public com.klg.jclass.chart.beans.AppearanceWrapper getHeaderAppearance()
Gets the values of the properties encapsulated in the HeaderAppearance property.

Returns:
values of the properties encapsulated in the HeaderAppearance property

setHeaderAppearance

public void setHeaderAppearance(com.klg.jclass.chart.beans.AppearanceWrapper hw)
Sets the values of the properties encapsulated in the HeaderAppearance property.

Parameters:
hw -

getChartAreaAppearance

public com.klg.jclass.chart.beans.AppearanceWrapper getChartAreaAppearance()
Gets the values of the properties encapsulated in the ChartAreaAppearance property.

Returns:
values of the properties encapsulated in the ChartAreaAppearance property

setChartAreaAppearance

public void setChartAreaAppearance(com.klg.jclass.chart.beans.AppearanceWrapper cw)
Sets the values of the properties encapsulated in the ChartAreaAppearance property.

Parameters:
cw -

getChartAppearance

public com.klg.jclass.chart.beans.AppearanceWrapper getChartAppearance()
Gets the values of the properties encapsulated in the ChartAppearance property.

Returns:
values of the properties encapsulated in the ChartAppearance property

setChartAppearance

public void setChartAppearance(com.klg.jclass.chart.beans.AppearanceWrapper cw)
Sets the values of the properties encapsulated in the ChartAppearance property.

Parameters:
cw -

getPlotAreaAppearance

public com.klg.jclass.chart.beans.AppearanceWrapper getPlotAreaAppearance()
Gets the values of the properties encapsulated in the PlotAreaAppearance property.

Returns:
values of the properties encapsulated in the PlotAreaAppearance property

setPlotAreaAppearance

public void setPlotAreaAppearance(com.klg.jclass.chart.beans.AppearanceWrapper pw)
Sets the values of the properties encapsulated in the PlotAreaAppearance property.

Parameters:
pw -

getHeaderText

public com.klg.jclass.chart.beans.TitleWrapper getHeaderText()
Gets the values of the properties encapsulated in the HeaderText property.

Returns:
values of the properties encapsulated in the HeaderText property

setHeaderText

public void setHeaderText(com.klg.jclass.chart.beans.TitleWrapper hw)
Sets the values of the properties encapsulated in the HeaderText property.

Parameters:
hw -

getFooterText

public com.klg.jclass.chart.beans.TitleWrapper getFooterText()
Gets the values of the properties encapsulated in the FooterText property.

Returns:
values of the properties encapsulated in the FooterText property

setFooterText

public void setFooterText(com.klg.jclass.chart.beans.TitleWrapper fw)
Sets the values of the properties encapsulated in the FooterText property.

Parameters:
fw -

getTriggerList

public com.klg.jclass.chart.beans.TriggerWrapper getTriggerList()
Gets the values of the properties encapsulated in the TriggerList property.

Returns:
values of the properties encapsulated in the TriggerList property

setTriggerList

public void setTriggerList(com.klg.jclass.chart.beans.TriggerWrapper tw)
Sets the values of the properties encapsulated in the TriggerList property.

Parameters:
tw -

setSwingDataModel1

public void setSwingDataModel1(TableModel model)
Sets the data source of the first data view to be derived from the provided instance of the Swing TableModel.

Parameters:
model -

getSwingDataModel1

public TableModel getSwingDataModel1()
Gets the Swing TableModel instance being used to populate the data source of the first data view.

Returns:
Swing TableModel instance being used to populate the data source of the first data view

setSwingDataModel2

public void setSwingDataModel2(TableModel model)
Sets the data source of the second data view to be derived from the provided instance of the Swing TableModel.

Parameters:
model -

getSwingDataModel2

public TableModel getSwingDataModel2()
Gets the Swing TableModel instance being used to populate the data source of the second data view.

Returns:
the Swing TableModel instance being used to populate the data source of the second data view

Copyright © 2004 Quest Software Inc..
All rights reserved.