##################################################################

Appearance3DChooser v1.1

Copyright (C) 2009 Frederic Roudaut


This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

###################################################################

com.appearance3Dchooser
Class Appearance3DChooserInfo

java.lang.Object
  extended by com.appearance3Dchooser.Appearance3DChooserInfo

public class Appearance3DChooserInfo
extends java.lang.Object

Create a Frame with all the Parameters Values It will dynamically update them every 500ms.


Field Summary
protected  Appearance3DChooser app
           
protected  javax.swing.JLabel entryTextAMBIENT
           
protected  javax.swing.JLabel entryTextCOLORTARGET
           
protected  javax.swing.JLabel entryTextDIFFUSE
           
protected  javax.swing.JLabel entryTextEMISSIVE
           
protected  javax.swing.JLabel entryTextLIGHTING
           
protected  javax.swing.JLabel entryTextRotation
           
protected  javax.swing.JLabel entryTextScale
           
protected  javax.swing.JLabel entryTextSHININESS
           
protected  javax.swing.JLabel entryTextSPECULAR
           
protected  javax.swing.JLabel entryTextTEXTURE_BLEND
           
protected  javax.swing.JLabel entryTextTEXTURE_COMBINE_ALPHA_FUNCTION
           
protected  javax.swing.JLabel entryTextTEXTURE_COMBINE_ALPHA_MODE
           
protected  javax.swing.JLabel entryTextTEXTURE_COMBINE_ALPHA_SCALE
           
protected  javax.swing.JLabel entryTextTEXTURE_COMBINE_ALPHA_SOURCE
           
protected  javax.swing.JLabel entryTextTEXTURE_COMBINE_RGB_FUNCTION
           
protected  javax.swing.JLabel entryTextTEXTURE_COMBINE_RGB_MODE
           
protected  javax.swing.JLabel entryTextTEXTURE_COMBINE_RGB_SCALE
           
protected  javax.swing.JLabel entryTextTEXTURE_COMBINE_RGB_SOURCE
           
protected  javax.swing.JLabel entryTextTEXTURE_FILE
           
protected  javax.swing.JLabel entryTextTEXTURE_MODE
           
protected  javax.swing.JLabel entryTextTEXTURE_PERSPECTIVE_CORRECTION_MODE
           
protected  javax.swing.JLabel entryTextTEXTURE_TRANSFORM1
           
protected  javax.swing.JLabel entryTextTEXTURE_TRANSFORM2
           
protected  javax.swing.JLabel entryTextTEXTURE_TRANSFORM3
           
protected  javax.swing.JLabel entryTextTEXTURE_USE
           
protected  javax.swing.JLabel entryTextTranslation
           
protected  javax.swing.JLabel entryTextTRANSPARENCY
           
protected  javax.swing.JLabel entryTextTRANSPARENCY_DST_BLEND_FUNCTION
           
protected  javax.swing.JLabel entryTextTRANSPARENCY_MODE
           
protected  javax.swing.JLabel entryTextTRANSPARENCY_SRC_BLEND_FUNCTION
           
private static long serialVersionUID
           
 
Constructor Summary
Appearance3DChooserInfo(Appearance3DChooser appear)
          Constructor that draw a Frame with all the Appearance3DChooser Parameters values.
Appearance3DChooserInfo(Appearance3DChooser appear, java.awt.Dimension d)
          Constructor that draw a Frame with all the Appearance3DChooser Parameters values.
 
Method Summary
static java.lang.String colorTargetToString(int m)
          Convert Material Color Target to String.
static java.lang.String textureCombineFunctionToString(int m)
          Convert TextureAttributes Combine Function to String.
static java.lang.String textureCombineModeToString(int m)
          Convert TextureAttributes Combine Mode to String.
static java.lang.String textureCombineSourceToString(int m)
          Convert TextureAttributes Combine Source to String.
static java.lang.String textureModeToString(int m)
          Convert TextureAttributes Mode to String.
static java.lang.String texturePerspectiveCorrectionModeToString(int m)
          Convert TextureAttributes Perspective Correction Mode to String.
static java.lang.String transparencyBlendFunctionToString(int f)
          Convert TransparencyAttributes Source or Destination Blend Function to String.
static java.lang.String transparencyModeToString(int m)
          Convert TransparencyAttributes Mode to String.
protected  void updateAppearance3DChooserInfo()
          Function that updates all the parameters info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

entryTextSPECULAR

protected javax.swing.JLabel entryTextSPECULAR

entryTextAMBIENT

protected javax.swing.JLabel entryTextAMBIENT

entryTextEMISSIVE

protected javax.swing.JLabel entryTextEMISSIVE

entryTextDIFFUSE

protected javax.swing.JLabel entryTextDIFFUSE

entryTextCOLORTARGET

protected javax.swing.JLabel entryTextCOLORTARGET

entryTextSHININESS

protected javax.swing.JLabel entryTextSHININESS

entryTextLIGHTING

protected javax.swing.JLabel entryTextLIGHTING

entryTextTRANSPARENCY

protected javax.swing.JLabel entryTextTRANSPARENCY

entryTextTRANSPARENCY_MODE

protected javax.swing.JLabel entryTextTRANSPARENCY_MODE

entryTextTRANSPARENCY_SRC_BLEND_FUNCTION

protected javax.swing.JLabel entryTextTRANSPARENCY_SRC_BLEND_FUNCTION

entryTextTRANSPARENCY_DST_BLEND_FUNCTION

protected javax.swing.JLabel entryTextTRANSPARENCY_DST_BLEND_FUNCTION

entryTextTEXTURE_USE

protected javax.swing.JLabel entryTextTEXTURE_USE

entryTextTEXTURE_FILE

protected javax.swing.JLabel entryTextTEXTURE_FILE

entryTextTEXTURE_TRANSFORM1

protected javax.swing.JLabel entryTextTEXTURE_TRANSFORM1

entryTextTEXTURE_TRANSFORM2

protected javax.swing.JLabel entryTextTEXTURE_TRANSFORM2

entryTextTEXTURE_TRANSFORM3

protected javax.swing.JLabel entryTextTEXTURE_TRANSFORM3

entryTextRotation

protected javax.swing.JLabel entryTextRotation

entryTextScale

protected javax.swing.JLabel entryTextScale

entryTextTranslation

protected javax.swing.JLabel entryTextTranslation

entryTextTEXTURE_PERSPECTIVE_CORRECTION_MODE

protected javax.swing.JLabel entryTextTEXTURE_PERSPECTIVE_CORRECTION_MODE

entryTextTEXTURE_MODE

protected javax.swing.JLabel entryTextTEXTURE_MODE

entryTextTEXTURE_BLEND

protected javax.swing.JLabel entryTextTEXTURE_BLEND

entryTextTEXTURE_COMBINE_RGB_MODE

protected javax.swing.JLabel entryTextTEXTURE_COMBINE_RGB_MODE

entryTextTEXTURE_COMBINE_RGB_SOURCE

protected javax.swing.JLabel entryTextTEXTURE_COMBINE_RGB_SOURCE

entryTextTEXTURE_COMBINE_RGB_FUNCTION

protected javax.swing.JLabel entryTextTEXTURE_COMBINE_RGB_FUNCTION

entryTextTEXTURE_COMBINE_RGB_SCALE

protected javax.swing.JLabel entryTextTEXTURE_COMBINE_RGB_SCALE

entryTextTEXTURE_COMBINE_ALPHA_MODE

protected javax.swing.JLabel entryTextTEXTURE_COMBINE_ALPHA_MODE

entryTextTEXTURE_COMBINE_ALPHA_SOURCE

protected javax.swing.JLabel entryTextTEXTURE_COMBINE_ALPHA_SOURCE

entryTextTEXTURE_COMBINE_ALPHA_FUNCTION

protected javax.swing.JLabel entryTextTEXTURE_COMBINE_ALPHA_FUNCTION

entryTextTEXTURE_COMBINE_ALPHA_SCALE

protected javax.swing.JLabel entryTextTEXTURE_COMBINE_ALPHA_SCALE

app

protected Appearance3DChooser app
Constructor Detail

Appearance3DChooserInfo

public Appearance3DChooserInfo(Appearance3DChooser appear)
Constructor that draw a Frame with all the Appearance3DChooser Parameters values.

Parameters:
appear - the Appearance3DChooser Object

Appearance3DChooserInfo

public Appearance3DChooserInfo(Appearance3DChooser appear,
                               java.awt.Dimension d)
Constructor that draw a Frame with all the Appearance3DChooser Parameters values.

Parameters:
appear - the Appearance3DChooser Object
d - the text Panel Dimension
Method Detail

updateAppearance3DChooserInfo

protected void updateAppearance3DChooserInfo()
Function that updates all the parameters info.


transparencyModeToString

public static java.lang.String transparencyModeToString(int m)
Convert TransparencyAttributes Mode to String.

Returns:
a String for the TransparencyAttributes Mode.

transparencyBlendFunctionToString

public static java.lang.String transparencyBlendFunctionToString(int f)
Convert TransparencyAttributes Source or Destination Blend Function to String.

Returns:
the corresponding String.

texturePerspectiveCorrectionModeToString

public static java.lang.String texturePerspectiveCorrectionModeToString(int m)
Convert TextureAttributes Perspective Correction Mode to String.

Returns:
the corresponding String.

textureModeToString

public static java.lang.String textureModeToString(int m)
Convert TextureAttributes Mode to String.

Returns:
the corresponding String.

textureCombineModeToString

public static java.lang.String textureCombineModeToString(int m)
Convert TextureAttributes Combine Mode to String.

Returns:
the corresponding String.

textureCombineSourceToString

public static java.lang.String textureCombineSourceToString(int m)
Convert TextureAttributes Combine Source to String.

Returns:
the corresponding String.

textureCombineFunctionToString

public static java.lang.String textureCombineFunctionToString(int m)
Convert TextureAttributes Combine Function to String.

Returns:
the corresponding String.

colorTargetToString

public static java.lang.String colorTargetToString(int m)
Convert Material Color Target to String.

Returns:
the corresponding String.


##################################################################

Appearance3DChooser v1.1

Copyright (C) 2009 Frederic Roudaut


This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.

###################################################################