cct.j3d.ui
Class VerticesPropertyPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by cct.j3d.ui.VerticesPropertyPanel
All Implemented Interfaces:
MappedSurfaceInterface, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

public class VerticesPropertyPanel
extends javax.swing.JPanel
implements MappedSurfaceInterface

Title:

Description:

Copyright: Copyright (c) 2007

Company: ANU

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private)  javax.media.j3d.Appearance App
           
(package private)  javax.vecmath.Color3f black
           
protected  javax.swing.border.Border border1
           
protected  javax.swing.border.Border border2
           
(package private)  java.awt.BorderLayout borderLayout2
           
(package private)  java.awt.BorderLayout borderLayout3
           
(package private)  java.awt.BorderLayout borderLayout4
           
(package private)  java.awt.BorderLayout borderLayout5
           
(package private)  java.awt.BorderLayout borderLayout6
           
(package private)  java.awt.BorderLayout borderLayout7
           
(package private)  java.awt.BorderLayout borderLayout8
           
protected  ControlColorGradientPanel controlColorGradientPanel1
           
(package private)  javax.vecmath.Color3f diffuseColorStore
           
(package private)  java.awt.FlowLayout flowLayout1
           
(package private)  java.awt.FlowLayout flowLayout2
           
(package private)  java.lang.Object grandParent
           
protected  java.awt.GridBagLayout gridBagLayout1
           
(package private)  javax.swing.JLabel jLabel1
           
(package private)  javax.swing.JLabel jLabel2
           
(package private)  javax.swing.JLabel jLabel3
           
(package private)  javax.swing.JLabel jLabel4
           
(package private)  javax.swing.JLabel jLabel5
           
(package private)  javax.swing.JLabel jLabel6
           
(package private)  javax.swing.JPanel jPanel1
           
(package private)  javax.swing.JPanel jPanel2
           
(package private)  javax.swing.JPanel jPanel3
           
(package private)  javax.swing.JPanel jPanel4
           
(package private)  javax.swing.JPanel jPanel5
           
(package private)  javax.swing.JPanel mainPanel
           
(package private) static java.lang.String MIXED_RENDERING
           
(package private)  javax.swing.JSlider opacitySlider
           
(package private)  javax.swing.JCheckBox opaqueCheckBox
           
(package private)  javax.swing.JComboBox renderingComboBox
           
(package private)  javax.media.j3d.Shape3D Shape3d
           
(package private)  java.lang.Object shape3d_Parent
           
(package private)  javax.swing.JPanel shininessPanel
           
(package private)  javax.swing.JSlider shininessSlider
           
(package private)  float shininessStore
           
(package private)  javax.swing.JPanel topPanel
           
(package private)  javax.swing.JPanel transparencyPanel
           
(package private)  javax.swing.JComboBox transpComboBox
           
(package private)  javax.swing.JCheckBox visibleCheckBox
           
(package private)  VerticesObject vObject
           
 
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
VerticesPropertyPanel()
           
 
Method Summary
 void enableAllControls(boolean enable)
           
 boolean isObjectOpaque()
           
 boolean isObjectVisible()
           
 void opacitySlider_stateChanged(javax.swing.event.ChangeEvent e)
           
 void opaqueCheckBox_actionPerformed(java.awt.event.ActionEvent e)
           
(package private)  void processOptionalControls()
           
 void renderingComboBox_itemStateChanged(java.awt.event.ItemEvent e)
           
 void setNewColorScheme(ColorRangeScheme new_color_range)
           
 void setObjectOpaque(boolean opaque)
           
 void setObjectVisible(boolean visible)
           
 void setPanel(javax.media.j3d.Shape3D shape3d)
           
 void setPanel(VerticesObject v_object)
           
 void setPolygoneMode(int mode)
           
 void setShininess(float shininess)
           
 void setTransparency(float transp)
           
 void setTransparencyMode(int mode)
           
 void shininessSlider_stateChanged(javax.swing.event.ChangeEvent e)
           
 void transpComboBox_itemStateChanged(java.awt.event.ItemEvent e)
           
 void updatePanel()
           
 void visibleCheckBox_actionPerformed(java.awt.event.ActionEvent e)
           
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, 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, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, 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, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MIXED_RENDERING

static java.lang.String MIXED_RENDERING

jLabel1

javax.swing.JLabel jLabel1

mainPanel

javax.swing.JPanel mainPanel

renderingComboBox

javax.swing.JComboBox renderingComboBox

opaqueCheckBox

javax.swing.JCheckBox opaqueCheckBox

jPanel2

javax.swing.JPanel jPanel2

transparencyPanel

javax.swing.JPanel transparencyPanel

borderLayout2

java.awt.BorderLayout borderLayout2

jPanel1

javax.swing.JPanel jPanel1

jPanel4

javax.swing.JPanel jPanel4

transpComboBox

javax.swing.JComboBox transpComboBox

jLabel3

javax.swing.JLabel jLabel3

borderLayout3

java.awt.BorderLayout borderLayout3

flowLayout2

java.awt.FlowLayout flowLayout2

opacitySlider

javax.swing.JSlider opacitySlider

borderLayout4

java.awt.BorderLayout borderLayout4

visibleCheckBox

javax.swing.JCheckBox visibleCheckBox

App

javax.media.j3d.Appearance App

Shape3d

javax.media.j3d.Shape3D Shape3d

vObject

VerticesObject vObject

shape3d_Parent

java.lang.Object shape3d_Parent

grandParent

java.lang.Object grandParent

diffuseColorStore

javax.vecmath.Color3f diffuseColorStore

black

javax.vecmath.Color3f black

shininessStore

float shininessStore

jPanel3

javax.swing.JPanel jPanel3

jLabel5

javax.swing.JLabel jLabel5

jLabel6

javax.swing.JLabel jLabel6

borderLayout5

java.awt.BorderLayout borderLayout5

shininessPanel

javax.swing.JPanel shininessPanel

topPanel

javax.swing.JPanel topPanel

borderLayout6

java.awt.BorderLayout borderLayout6

flowLayout1

java.awt.FlowLayout flowLayout1

shininessSlider

javax.swing.JSlider shininessSlider

jPanel5

javax.swing.JPanel jPanel5

jLabel2

javax.swing.JLabel jLabel2

jLabel4

javax.swing.JLabel jLabel4

borderLayout7

java.awt.BorderLayout borderLayout7

borderLayout8

java.awt.BorderLayout borderLayout8

controlColorGradientPanel1

protected ControlColorGradientPanel controlColorGradientPanel1

border1

protected javax.swing.border.Border border1

border2

protected javax.swing.border.Border border2

gridBagLayout1

protected java.awt.GridBagLayout gridBagLayout1
Constructor Detail

VerticesPropertyPanel

public VerticesPropertyPanel()
Method Detail

setPanel

public void setPanel(javax.media.j3d.Shape3D shape3d)
              throws java.lang.Exception
Throws:
java.lang.Exception

updatePanel

public void updatePanel()

processOptionalControls

void processOptionalControls()

setNewColorScheme

public void setNewColorScheme(ColorRangeScheme new_color_range)
Specified by:
setNewColorScheme in interface MappedSurfaceInterface

setPanel

public void setPanel(VerticesObject v_object)
              throws java.lang.Exception
Throws:
java.lang.Exception

opaqueCheckBox_actionPerformed

public void opaqueCheckBox_actionPerformed(java.awt.event.ActionEvent e)

renderingComboBox_itemStateChanged

public void renderingComboBox_itemStateChanged(java.awt.event.ItemEvent e)

setPolygoneMode

public void setPolygoneMode(int mode)
                     throws java.lang.Exception
Throws:
java.lang.Exception

visibleCheckBox_actionPerformed

public void visibleCheckBox_actionPerformed(java.awt.event.ActionEvent e)

setObjectVisible

public void setObjectVisible(boolean visible)

setShininess

public void setShininess(float shininess)

setTransparency

public void setTransparency(float transp)

setTransparencyMode

public void setTransparencyMode(int mode)

setObjectOpaque

public void setObjectOpaque(boolean opaque)

enableAllControls

public void enableAllControls(boolean enable)

transpComboBox_itemStateChanged

public void transpComboBox_itemStateChanged(java.awt.event.ItemEvent e)

opacitySlider_stateChanged

public void opacitySlider_stateChanged(javax.swing.event.ChangeEvent e)

isObjectVisible

public boolean isObjectVisible()

isObjectOpaque

public boolean isObjectOpaque()

shininessSlider_stateChanged

public void shininessSlider_stateChanged(javax.swing.event.ChangeEvent e)