net.jbeans.j3d.renderer
Class ManipulatableRenderer

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bynet.jbeans.j3d.renderer.BasicRenderer
                      extended bynet.jbeans.j3d.renderer.SelectableRenderer
                          extended bynet.jbeans.j3d.renderer.ManipulatableRenderer
All Implemented Interfaces:
javax.accessibility.Accessible, java.util.EventListener, java.io.Externalizable, java.awt.image.ImageObserver, java.awt.MenuContainer, PickMouseListener, java.io.Serializable
Direct Known Subclasses:
SeekableRenderer

public abstract class ManipulatableRenderer
extends SelectableRenderer
implements java.io.Externalizable

generally describe ManipulatableRenderer in here

Version:
$Revision: 1.3 $
Author:
Masahiro Takatsuka (masa@jbeans.net)
See Also:
SelectableRenderer, Externalizable, Serialized Form

Nested Class Summary
(package private)  class ManipulatableRenderer.DialListener
           
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
static int DEFAULT
           
protected  net.jbeans.ui.dial.ThumbDial dial1
          Dial 1 is normally used to control rotation around X-axis.
protected  net.jbeans.ui.label.OrientedLabel dial1Title
          The title of the dial1
protected  net.jbeans.ui.dial.ThumbDial dial2
          Dial 2 is normally used to control rotation around Y-axis.
protected  net.jbeans.ui.label.OrientedLabel dial2Title
          The title of the dial2
protected  net.jbeans.ui.dial.ThumbDial dial3
          Dial 3 is normally used to control zoom.
protected  net.jbeans.ui.label.OrientedLabel dial3Title
          The title of the dial3
protected  net.jbeans.ui.dial.ThumbDial dial4
          Dial 4 is normally used to control scaling.
protected  net.jbeans.ui.label.OrientedLabel dial4Title
          The title of the dial4
protected  net.jbeans.ui.dial.ThumbDial dial5
          Dial 5 is normally used to control Hight in Walk mode.
protected  net.jbeans.ui.label.OrientedLabel dial5Title
          The title of the dial5
static int EXAMINE
          possible viewing mode.
static int FLY
           
static int PLANE
           
static int ROLL
           
static int ROTATE
           
static int SCALE
           
static int TRANSLATE
           
static int WALK
           
static int ZOOM
           
 
Fields inherited from class net.jbeans.j3d.renderer.BasicRenderer
backColor, background, canvas3D, DEFAULT_BOUNDS, DEFAULT_CANVAS3D_HEIGHT, DEFAULT_CANVAS3D_TOP, DEFAULT_CANVAS3D_WIDTH, initRendererPanel, MRG, universe, YGAP
 
Fields inherited from class javax.swing.JComponent
accessibleContext, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Container
 
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
(package private) ManipulatableRenderer()
          Constructs a new ManipulatableRenderer object.
(package private) ManipulatableRenderer(java.lang.String title)
          Constructs a new Renderer object.
 
Method Summary
 boolean getDialsVisible()
           
 int getViewingMode()
           
protected  javax.swing.JPanel initRendererPanel()
           
 boolean isDialsVisible()
           
 void readExternal(java.io.ObjectInput in)
          Serialization methods
 void setDialsVisible(boolean visible)
           
 void setViewingMode(int mode)
           
 void writeExternal(java.io.ObjectOutput out)
          Serialization methods
 
Methods inherited from class net.jbeans.j3d.renderer.SelectableRenderer
addPickMouseListener, firePickedEvent, fireSelectedEvent, picked, removePickMouseListener, selected
 
Methods inherited from class net.jbeans.j3d.renderer.BasicRenderer
addBranchGraph, addBranchGraph, createUniverse, detachAllBranchGraph, detachBranchGraph, getBackgroundColor, getCanvas3D, getEyeSeparation, getProjection, getStereoEnable, getUniverse, getWindowEyepointPolicy, setBackgroundColor, setEyeSeparation, setParallelProjection, setPerspectiveProjection, setProjection, setStereoEnable, setWindowEyepointPolicy
 
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, 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

EXAMINE

public static final int EXAMINE
possible viewing mode.

See Also:
Constant Field Values

WALK

public static final int WALK
See Also:
Constant Field Values

FLY

public static final int FLY
See Also:
Constant Field Values

PLANE

public static final int PLANE
See Also:
Constant Field Values

DEFAULT

public static final int DEFAULT
See Also:
Constant Field Values

ROTATE

public static final int ROTATE
See Also:
Constant Field Values

TRANSLATE

public static final int TRANSLATE
See Also:
Constant Field Values

ZOOM

public static final int ZOOM
See Also:
Constant Field Values

ROLL

public static final int ROLL
See Also:
Constant Field Values

SCALE

public static final int SCALE
See Also:
Constant Field Values

dial1

protected transient net.jbeans.ui.dial.ThumbDial dial1
Dial 1 is normally used to control rotation around X-axis.


dial1Title

protected transient net.jbeans.ui.label.OrientedLabel dial1Title
The title of the dial1


dial2

protected transient net.jbeans.ui.dial.ThumbDial dial2
Dial 2 is normally used to control rotation around Y-axis.


dial2Title

protected transient net.jbeans.ui.label.OrientedLabel dial2Title
The title of the dial2


dial3

protected transient net.jbeans.ui.dial.ThumbDial dial3
Dial 3 is normally used to control zoom.


dial3Title

protected transient net.jbeans.ui.label.OrientedLabel dial3Title
The title of the dial3


dial4

protected transient net.jbeans.ui.dial.ThumbDial dial4
Dial 4 is normally used to control scaling.


dial4Title

protected transient net.jbeans.ui.label.OrientedLabel dial4Title
The title of the dial4


dial5

protected transient net.jbeans.ui.dial.ThumbDial dial5
Dial 5 is normally used to control Hight in Walk mode.


dial5Title

protected transient net.jbeans.ui.label.OrientedLabel dial5Title
The title of the dial5

Constructor Detail

ManipulatableRenderer

ManipulatableRenderer()
Constructs a new ManipulatableRenderer object.


ManipulatableRenderer

ManipulatableRenderer(java.lang.String title)
Constructs a new Renderer object. Masahiro Takatsuka/1999-Jun-11

Method Detail

setDialsVisible

public void setDialsVisible(boolean visible)

getDialsVisible

public boolean getDialsVisible()

isDialsVisible

public boolean isDialsVisible()

setViewingMode

public void setViewingMode(int mode)

getViewingMode

public int getViewingMode()

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.lang.ClassNotFoundException,
                         java.io.IOException
Serialization methods

Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class BasicRenderer
Throws:
java.lang.ClassNotFoundException
java.io.IOException

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Serialization methods

Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class BasicRenderer
Throws:
java.io.IOException

initRendererPanel

protected javax.swing.JPanel initRendererPanel()
Overrides:
initRendererPanel in class BasicRenderer


Copyright © 1995-2004 net.jbeans. All Rights Reserved.