JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.chart3d.j2d
Class JCChart3dJava2d

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--com.klg.jclass.chart3d.JCChart3d
                          |
                          +--com.klg.jclass.chart3d.j2d.JCChart3dJava2d
All Implemented Interfaces:
Changeable, Changeable, Chart3dDataModel, Chart3dGridDataModel, Chart3dPointDataModel, EventListener, ImageObserver, KeyListener, LegendComponentLayoutUser, MenuContainer, MouseListener, MouseMotionListener, Serializable, com.klg.jclass.util.ServerRenderable
Direct Known Subclasses:
Chart3dJava2d

public class JCChart3dJava2d
extends JCChart3d
implements Chart3dGridDataModel

The JCChart3dJava2d class extends JCChart3d to give a JClass Chart 3D object that is based on the Java 2D API.

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
protected  String customizerName
           
 
Fields inherited from class com.klg.jclass.chart3d.JCChart3d
actionTable, BAR, chart3dArea, chart3dAreaLayoutHints, customizer, dataViews, ERRMSG_CUSTOMIZER_FAILURE, fillColorIndex, footer, footerLayoutHints, header, headerLayoutHints, inKeyPress, LAST_PREDEFINED_CHART_TYPE, legend, legendLayoutHints, legendManager, lineColorIndex, listeners, locale, NONE, pickListeners, SCATTER, SURFACE, symbolColorIndex, symbolShapeIndex
 
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.chart3d.Changeable
ALL, CONTOURS, NOTIFY_CA_RECALC, NOTIFY_CA_REDRAW, NOTIFY_LEGEND_RECALC, NOTIFY_LEGEND_REDRAW
 
Fields inherited from interface com.klg.jclass.util.Changeable
BASIC_CHANGE_MASK, LAYOUT, NO_CHANGE, NOTIFY_PARENT_LAYOUT, RECALC, REDRAW
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JCChart3dJava2d()
          Default constructor, required by JavaBeans.
JCChart3dJava2d(int tp)
          Constructor that creates a JCChart3dJava2d of a particular type.
 
Method Summary
protected  void createActionTable()
          Creates a new action table.
protected  void createObjects(int chartType)
          Creates the objects needed for this Chart3d object.
protected  com.klg.jclass.chart3d.JCAction getActionHandler(InputEvent event)
          Gets the proper action based on the given input event.
 String getCustomizerName()
          Gets the current customizer name.
static void main(String[] args)
          Main method for running chart as an application.
 void setCustomizerName(String name)
          Sets the customizer name.
 
Methods inherited from class com.klg.jclass.chart3d.JCChart3d
addChart3dListener, addDataView, addNotify, addPick3dListener, cancel, convertChartAreaXToX, convertChartAreaYToY, convertXToChartAreaX, convertYToChartAreaY, createChart3dArea, createFooter, createHeader, createJava2dChart, createJava3dChart, createJava3dChart, createLegend, doLayout, findDataView, firePaint, getAbout, getActionTable, getAllowUserChanges, getChanged, getChanged, getChart3dArea, getColorIndex, getComponentArea, getComponentAt, getDataView, getDataView, getDrawingArea, getDrawingArea, getDrawingAreaHeight, getDrawingAreaWidth, getFillColorIndex, getFooter, getGraphics, getHeader, getLayoutHints, getLegend, getLineColorIndex, getLocale, getNumDataViews, getOriginalDataView, getPoints, getSource, getSymbolColorIndex, getSymbolShapeIndex, getUI, getUIClassID, getXGrid, getYGrid, getZValues, init, initializeLayout, initializeUI, isBatched, isChanged, isChanged, isFocusTraversable, isProjection, isWarningDialog, keyPressed, keyReleased, keyTyped, launchPropertyPage, makeChart3d, mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased, paint, paintComponent, pick, pickLegend, printAll, processKeyEvent, processMouseEvent, processMouseMotionEvent, recalc, redraw, registerUI, removeChart3dListener, removeDataView, removePick3dListener, requestFocus, reset, resetDefaults, sendEvent, sendPick3dEvent, serverPaint, serverSnapshot, setAbout, setAllowUserChanges, setBackground, setBatched, setChanged, setChanged, setChart3dArea, setColorIndex, setDataView, setDataView, setFillColorIndex, setFont, setFooter, setForeground, setGraphics, setHeader, setLayout, setLayoutHints, setLegend, setLineColorIndex, setLocale, setOpaque, setSymbolColorIndex, setSymbolShapeIndex, setUI, setWarningDialog, snapshot, snapshot, snapshot, unpick, update, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, 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, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paintBorder, paintChildren, 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, 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.chart3d.Chart3dGridDataModel
getXGrid, getYGrid, getZValues
 
Methods inherited from interface com.klg.jclass.util.legend.LegendComponentLayoutUser
getPreferredSize
 

Field Detail

customizerName

protected String customizerName
Constructor Detail

JCChart3dJava2d

public JCChart3dJava2d(int tp)
Constructor that creates a JCChart3dJava2d of a particular type.

Parameters:
tp -

JCChart3dJava2d

public JCChart3dJava2d()
Default constructor, required by JavaBeans.

Method Detail

createActionTable

protected void createActionTable()
Creates a new action table.

Specified by:
createActionTable in class JCChart3d

getCustomizerName

public String getCustomizerName()
Gets the current customizer name.

Specified by:
getCustomizerName in class JCChart3d
Returns:
the customizer name

setCustomizerName

public void setCustomizerName(String name)
Sets the customizer name.

Specified by:
setCustomizerName in class JCChart3d
Parameters:
name - the new customizer name

getActionHandler

protected com.klg.jclass.chart3d.JCAction getActionHandler(InputEvent event)
Gets the proper action based on the given input event.

Specified by:
getActionHandler in class JCChart3d
Parameters:
event - the user event
Returns:
the associated action

createObjects

protected void createObjects(int chartType)
Creates the objects needed for this Chart3d object.

Parameters:
chartType - the initial chart type of the chart (one of SURFACE, BAR, or SCATTER)

main

public static void main(String[] args)
Main method for running chart as an application.

Parameters:
args - command line arguments

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