sdr 0.21

Serialized Form


Package net.cscott.sdr.anim

Class net.cscott.sdr.anim.Gauge extends Node implements Serializable

Serialized Fields

quad

TexturedQuad quad

paint

Paint paint

oldVal

int oldVal

Class net.cscott.sdr.anim.GradientTriangle extends TriMesh implements Serializable

Serialized Fields

p1

Vector2f p1

p2

Vector2f p2

p3

Vector2f p3

testPoint

Vector2f testPoint

Class net.cscott.sdr.anim.MenuArrow extends GradientTriangle implements Serializable

Serialized Fields

textureState

TextureState textureState

Class net.cscott.sdr.anim.MenuItem extends Node implements Serializable

Serialized Fields

label

TextureText label

value

TextureText value

leftArrow

MenuArrow leftArrow

rightArrow

MenuArrow rightArrow

valueText

String[] valueText

which

int which

isEnabled

boolean isEnabled

Class net.cscott.sdr.anim.RedOval extends TriMesh implements Serializable

Class net.cscott.sdr.anim.Star extends TriMesh implements Serializable

Class net.cscott.sdr.anim.TexturedQuad extends Quad implements Serializable

Serialized Fields

textureImageRef

SoftReference<T> textureImageRef
An image buffer for drawing the texture; this is a soft reference to allow reclamation in mostly-static TexturedQuads, but hopefully the gc will be smart enough to keep enough around that we don't need to be doing frequent allocations for dynamic TexturedQuads.


texture

Texture texture
The Texture we will ultimately generate.


textureState

TextureState textureState
The TextureState (we need to invalidate this from time to time).


textureSize

int textureSize
The desired texture size -- for a 64x64 texture, specify '64' here.

Class net.cscott.sdr.anim.TextureText extends Node implements Serializable

Serialized Fields

quad

TexturedQuad quad
This is the internal TexturedQuad which is textured and translated.


alignX

TextureText.JustifyX alignX
The user's choice of horizontal alignments.


alignY

TextureText.JustifyY alignY
The user's choice of vertical alignments.


maxWidth

float maxWidth
The user's maximum width and height restrictions.


maxHeight

float maxHeight
The user's maximum width and height restrictions.


width

float width
The actual width and height of the text.


height

float height
The actual width and height of the text.


baseline

float baseline
Baseline offset (from bottom)


text

String text
The string to display, or null if the TextureText has not been completely initialized yet.


textureSize

int textureSize
The desired texture size -- for a 64x64 texture, specify '64' here.


font

Font font
The Font to use to draw this text. Use Font.createFont(int, java.io.InputStream) to use a truetype font from a resource file.


color

ColorRGBA color
The color to display the text.


Package net.cscott.sdr.calls

Class net.cscott.sdr.calls.BadCallException extends RuntimeException implements Serializable

Class net.cscott.sdr.calls.NoMatchException extends BadCallException implements Serializable


Package net.cscott.sdr.util

Class net.cscott.sdr.util.Fraction extends Number implements Serializable

serialVersionUID: 65382027393090L

Serialization Methods

readResolve

private Object readResolve()
                    throws ObjectStreamException
Ensure serialization is backwards-compatible by reconstructing fractions as they are read in.

Throws:
ObjectStreamException - if the deserialized fraction is invalid or corrupt (for example, the denominator is zero)
Serialized Fields

numerator

int numerator
The numerator number part of the fraction (the three in three sevenths). Numerator and denominator are always relatively prime.


denominator

int denominator
The denominator number part of the fraction (the seven in three sevenths). Numerator and denominator are always relatively prime. The denominator is always greater than zero.


sdr 0.21

Copyright (c) 2006 C. Scott Ananian