org.stellarium.ui.components
Class LoadingBar

java.lang.Object
  extended by org.stellarium.ui.components.LoadingBar

public class LoadingBar
extends java.lang.Object

Class which is used to display loading bar


Field Summary
private  SFontIfc _barfont
           
private  SFontIfc _extraTextFontIfc
           
private  int barheight
           
private  int barwidth
           
private  int barx
           
private  int bary
           
private  StelCore core
           
private  java.lang.String extraText
           
private  javax.vecmath.Vector2d extraTextPos
           
private  int height
           
private  java.lang.String message
           
private  Projector prj
           
private  STexture splash
           
private  int splashx
           
private  int splashy
           
private  float val
           
private  int width
           
 
Constructor Summary
LoadingBar(Projector prj, float fontSize, java.lang.String fontName, java.lang.String splash_tex, int screenw, int screenh, java.lang.String extraTextString, float extraTextSize, float extraTextPosx, float extraTextPosy, StelCore core)
           
 
Method Summary
 void draw()
           
 void setMessage(java.lang.String message)
           
 void setPercentage(float val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

private java.lang.String message

prj

private Projector prj

splashx

private int splashx

splashy

private int splashy

barx

private int barx

bary

private int bary

width

private int width

height

private int height

barwidth

private int barwidth

barheight

private int barheight

_barfont

private SFontIfc _barfont

splash

private STexture splash

extraText

private java.lang.String extraText

extraTextPos

private javax.vecmath.Vector2d extraTextPos

_extraTextFontIfc

private SFontIfc _extraTextFontIfc

val

private float val

core

private StelCore core
Constructor Detail

LoadingBar

public LoadingBar(Projector prj,
                  float fontSize,
                  java.lang.String fontName,
                  java.lang.String splash_tex,
                  int screenw,
                  int screenh,
                  java.lang.String extraTextString,
                  float extraTextSize,
                  float extraTextPosx,
                  float extraTextPosy,
                  StelCore core)
           throws StellariumException
Throws:
StellariumException
Method Detail

setPercentage

public void setPercentage(float val)

draw

public void draw()

setMessage

public void setMessage(java.lang.String message)