Class AbstractLabel
java.lang.Object
repast.simphony.visualization.visualization3D.AbstractLabel
- All Implemented Interfaces:
Label
- Direct Known Subclasses:
AgentLabel,EdgeLabel
- Version:
- $Revision: 1.2 $ $Date: 2006/01/06 22:53:54 $
- Author:
- Nick Collier
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.jogamp.java3d.Appearanceprotected org.jogamp.vecmath.Color3fprotected org.jogamp.java3d.Font3Dprotected org.jogamp.java3d.BranchGroupprotected Colorprotected Stringprotected floatprotected Style3D.LabelPositionprotected floatprotected floatprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jogamp.java3d.BranchGroupgetBranchGroup(org.jogamp.vecmath.Point3f center, org.jogamp.java3d.Group object) getColor()getFont()getLabel()floatprotected abstract org.jogamp.vecmath.Vector3fgetTranslation(org.jogamp.vecmath.Point3f center, float offset) voidvoidvoidvoidsetOffset(float offset) voidsetPosition(Style3D.LabelPosition position)
-
Field Details
-
label
-
position
-
group
protected org.jogamp.java3d.BranchGroup group -
updated
protected boolean updated -
color
protected org.jogamp.vecmath.Color3f color -
jColor
-
font
protected org.jogamp.java3d.Font3D font -
appearance
protected org.jogamp.java3d.Appearance appearance -
textScale
protected float textScale -
offset
protected float offset -
textWidth
protected float textWidth
-
-
Constructor Details
-
AbstractLabel
public AbstractLabel() -
AbstractLabel
-
-
Method Details
-
getLabel
-
setLabel
-
getPosition
- Specified by:
getPositionin interfaceLabel
-
setColor
-
getColor
-
setFont
-
getFont
-
getOffset
public float getOffset() -
setOffset
public void setOffset(float offset) -
setPosition
- Specified by:
setPositionin interfaceLabel
-
getTranslation
protected abstract org.jogamp.vecmath.Vector3f getTranslation(org.jogamp.vecmath.Point3f center, float offset) -
getBranchGroup
public org.jogamp.java3d.BranchGroup getBranchGroup(org.jogamp.vecmath.Point3f center, org.jogamp.java3d.Group object) - Specified by:
getBranchGroupin interfaceLabel
-