short cPict::getFormat(eFormat prop) throw(xUnsupportedProp){ if(prop == TXT_FRAME) return drawFramed; else throw xUnsupportedProp(prop); }
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); }
void cPict::setFormat(eFormat prop, short val) throw(xUnsupportedProp){ if(prop == TXT_FRAME) drawFramed = val; else throw xUnsupportedProp(prop); if(isVisible()) draw(); }
void cLedGroup::setFormat(eFormat prop, short) throw(xUnsupportedProp) { throw xUnsupportedProp(prop); }
short cLedGroup::getFormat(eFormat prop) throw(xUnsupportedProp) { throw xUnsupportedProp(prop); }
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); }
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); }
short cButton::getFormat(eFormat prop) throw(xUnsupportedProp){ if(prop == TXT_WRAP) return wrapLabel; else if(prop == TXT_FRAMESTYLE) return frameStyle; else throw xUnsupportedProp(prop); }
short cTextField::getFormat(eFormat prop) throw(xUnsupportedProp){ throw xUnsupportedProp(prop); }
void cTextField::setFormat(eFormat prop, short) throw(xUnsupportedProp){ throw xUnsupportedProp(prop); }