Example #1
0
short cPict::getFormat(eFormat prop) throw(xUnsupportedProp){
	if(prop == TXT_FRAME) return drawFramed;
	else throw xUnsupportedProp(prop);
}
Example #2
0
void cButton::setFormat(eFormat prop, short val) throw(xUnsupportedProp){
	if(prop == TXT_WRAP) wrapLabel = val;
	else if(prop == TXT_FRAMESTYLE) frameStyle = val;
	else throw xUnsupportedProp(prop);
}
Example #3
0
void cPict::setFormat(eFormat prop, short val) throw(xUnsupportedProp){
	if(prop == TXT_FRAME) drawFramed = val;
	else throw xUnsupportedProp(prop);
	if(isVisible()) draw();
}
Example #4
0
void cLedGroup::setFormat(eFormat prop, short) throw(xUnsupportedProp) {
	throw xUnsupportedProp(prop);
}
Example #5
0
short cLedGroup::getFormat(eFormat prop) throw(xUnsupportedProp) {
	throw xUnsupportedProp(prop);
}
Example #6
0
short cLed::getFormat(eFormat prop) throw(xUnsupportedProp){
	if(prop == TXT_FONT) return textFont;
	else if(prop == TXT_SIZE) return textSize;
	else if(prop == TXT_WRAP) return wrapLabel;
	else throw xUnsupportedProp(prop);
}
Example #7
0
void cLed::setFormat(eFormat prop, short val) throw(xUnsupportedProp){
	if(prop == TXT_FONT) textFont = (eFont) val;
	else if(prop == TXT_SIZE) textSize = val;
	else if(prop == TXT_WRAP) wrapLabel = val;
	else throw xUnsupportedProp(prop);
}
Example #8
0
short cButton::getFormat(eFormat prop) throw(xUnsupportedProp){
	if(prop == TXT_WRAP) return wrapLabel;
	else if(prop == TXT_FRAMESTYLE) return frameStyle;
	else throw xUnsupportedProp(prop);
}
Example #9
0
short cTextField::getFormat(eFormat prop) throw(xUnsupportedProp){
	throw xUnsupportedProp(prop);
}
Example #10
0
void cTextField::setFormat(eFormat prop, short) throw(xUnsupportedProp){
	throw xUnsupportedProp(prop);
}