DEF_COMPONENTNAME
MlProgress
DEF_SUPERCLASS
Canvas
DEF_SUPERCOMPONENT

DEF_PACKAGE
plugins
microline
DEF_ENDLIST
DEF_SUBCOMPONENTLIST
DEF_ENDLIST
DEF_SUBCOMPONENTCLASSLIST
DEF_ENDLIST
DEF_CATEGORY

DEF_BITMAP

DEF_THUMBNAIL_UP

DEF_THUMBNAIL_DOWN

DEF_BASE
DEF_IMPORTS
DEF_ENDLIST
DEF_REQUIRES
DEF_ENDLIST
DEF_IMPLEMENTS
DEF_ENDLIST
DEF_DECLARATION
DEF_ENDLIST
DEF_METHOD
public void updateDisplay()
//updatedisplay calls paint().  Call this after updating the value of the meter.
DEF_ENDLIST
DEF_METHOD
public void setValue(int value)
//setValue sets the value of the progress meter.
DEF_ENDLIST
DEF_ENDCOMPONENT
DEF_COMPONENTNAME
MicrolineProgressBar
DEF_SUPERCLASS
MlProgress
DEF_SUPERCOMPONENT

DEF_PACKAGE
plugins
progress
DEF_ENDLIST
DEF_SUBCOMPONENTLIST
DEF_ENDLIST
DEF_SUBCOMPONENTCLASSLIST
DEF_ENDLIST
DEF_CATEGORY
MicroLine
DEF_BITMAP
progm.bmp
DEF_THUMBNAIL_UP
mlprog.bmp
DEF_THUMBNAIL_DOWN
2-mlprog.bmp
DEF_VISUAL
DEF_TOOL
DEF_IMPORTS
DEF_ENDLIST
DEF_REQUIRES
DEF_ENDLIST
DEF_IMPLEMENTS
DEF_ENDLIST
DEF_DECLARATION
// A class that produces a progress gauge.
// This component has much more functionality which is described in
// the included Microline documentation in /docs/microline.
// This third party component was created by MicroLine.  They can be contacted at:
// http://www.mlsoft.com
DEF_ENDLIST
DEF_METHOD
void initialize() {
//    setLayout(null);
//    setBackground(new Color(255, 255, 255));

//  prog1.reshape(0, 0, 300, 20);
    }
DEF_ENDLIST
DEF_ENUM
METER_BOXES
DEF_ENDLIST
DEF_PROPERTY
Bottom Shadow Color
Color
setValue("bottomShadowColor",AVALUE); 
AVALUE=getValue("bottomShadowColor");
Color.black
DEF_ENDLIST
DEF_PROPERTY
Top Shadow Color
Color
setValue("topShadowColor",AVALUE);
AVALUE=getValue("topShadowColor");
Color.black
DEF_ENDLIST
DEF_PROPERTY
Complete Value
int
setValue("completeValue",AVALUE);
AVALUE=getValue("completeValue");
100
DEF_ENDLIST
DEF_PROPERTY
Shadow Thickness
int
setValue("shadowThickness",AVALUE);
AVALUE=getValue("shadowThickness");
1
DEF_ENDLIST
DEF_PROPERTY
Show Percentage
boolean
setValue("showPercentage",AVALUE);
AVALUE=getValue("showPercentage");
true
DEF_ENDLIST
DEF_PROPERTY
Show Time
boolean
setValue("showTime",AVALUE);
AVALUE=getValue("showTime");
false
DEF_ENDLIST
DEF_PROPERTY
Value
int
setValue("value",AVALUE);
AVALUE=getValue("value");
0
DEF_ENDLIST
DEF_PROPERTY
Box Type
fruit
setValue("meterStyle",AVALUE);
AVALUE=getValue("meterStyle");
METER_BAR
DEF_ENDLIST
DEF_PROPERTY
# of Boxes
int
setValue("numBoxes",AVALUE);
AVALUE=getValue("numBoxes");
20
DEF_ENDLIST
DEF_PROPERTY
Top
int
move(bounds().x, AVALUE);
AVALUE = bounds().y;
0
DEF_ENDLIST
DEF_PROPERTY
Left
int
move(AVALUE, bounds().y);
AVALUE = bounds().x;
0
DEF_ENDLIST
DEF_PROPERTY
Height
int
resize(bounds().width, AVALUE);
AVALUE = bounds().height;
46
DEF_ENDLIST
DEF_PROPERTY
Width
int
resize(AVALUE, bounds().height);
AVALUE = bounds().width;
230
DEF_ENDLIST
DEF_ENDCOMPONENT
