setAttr method
Sets the table attributes specified in myAttr
. Overrides
the respective current values (e.g. the defaults).
Example:
setAttr({TABLE_HIGHLIGHT_COLOR: "red",TABLE_BUTTON_FONTSIZE: "20"});
Implementation
static void setAttr(Map<String, String> myAttr) {
if (attr == null) initAttrFromDefaults();
if (myAttr == null) return;
for (String attrName in myAttr.keys) {
attr[attrName] = myAttr[attrName];
}
}