public function setIMECompositionStringStyle(categoryName:String, styleDescriptor:Object): Number
Player version: 2.1.50
Sets the style to the appropriate category of IME color settings. The categoryName parameter may contain the following values:
The styleDescriptor is an Object instance with the following optional members set:
textColor : Number The color of text.
backgroundColor : Number The background color.
underlineColor : Number The color of underline.
underlineStyle : String The style of underline. Valid values:
"single" "thick" "dotted" "itheredSingle" "ditheredThick"
All colors are specified in the following format: 0xRRGGBB, where RR – hexadecimal representation of red component [0..255], BB – hexadecimal representation of blue component [0..255], GG – hexadecimal representation of green component [0..255].
public function setIMECandidateListStyle(styleDescriptor:Object)
Player version: 2.1.50
Sets the candidate list style to that of the object passed as argument.
The styleDescriptor is an Object instance with the following optional members set:
styleObject.textColor = 0x5EADFF; styleObject.selectedTextColor = 0xFFFFFF; styleObject.fontSize = 20; styleObject.backgroundColor = 0x001430; styleObject.selectedTextBackgroundColor = 0x2C5A99; styleObject.indexBackgroundColor = 0x12325A; styleObject.selectedIndexBackgroundColor = 0x2C5A99; styleObject.readingWindowTextColor = 0xFFFFFF; styleObject.readingWindowBackgroundColor = 0x001430; styleObject.readingWindowFontSize = 20;
textColor : Number The color of text.
selectedTextColor : Number The color of selected text.
fontSize : Number font size of the text in the row and row index.
backgroundColor : Number The background color of the text portion of unselected rows.
seletedTextBackgroundColor : Number The color of the text portion of the selected row.
indexBackgroundColor : Number The background color of the index portion of unselected rows.
selectedIndexBackgroundColor : Number The background color of the index portion of selected rows.
readingWindowTextColor : Number The color of the text in the reading window.
readingWindowBackgroundColor : Number Background color of the reading window.
readingWindowFontSize : Number Font size of the text in the reading window.
All colors are specified in the following format: 0xRRGGBB, where RR – hexadecimal representation of red component [0..255], BB – hexadecimal representation of blue component [0..255], GG – hexadecimal representation of green component [0..255].
public function getIMECompositionStringStyle(categoryName:String): Object
Player version: 2.1.50
Returns the color settings descriptor object for the specified category of IME color settings. See setIMECompositionStringStyle for detailed description of the categoryName and the descriptor object.
Parameters
categoryName:String – Category of IME color settings (see setIMECompositionStringStyle).
Returns Object - The descriptor of color settings for the category (see setIMECompositionStringStyle).
See also: setIMECompositionStringStyle disableIME
public function getIMECompositionStringStyle(categoryName:String): Object
Player version: 2.1.50
Returns the color settings descriptor object for IME candidate list. See setIMECandidateListStyle for detailed description of the descriptor object.
Returns
Object - The descriptor of color settings for the candidate list.
See also: setIMECandidateListStyle disableIME