Class
Mojikumi UI preferences. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
MojikumiUiPreference
QuickLinks
Hierarchy
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| eventListeners | EventListeners | readonly | A collection of event listeners. |
| events | Events | readonly | A collection of events. |
| isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
| lineEndAllOneEm | bool | r/w | If true, uses full-width spacing for all characters. |
| lineEndAllOneHalfEm | bool | r/w | If true, uses half-width spacing for all characters. |
| lineEndPeriodOneEm | bool | r/w | If true, uses full-width spacing for punctuation and for the last character in the line. |
| lineEndUkeNoFloat | bool | r/w | If true, uses line end uke no float. |
| oneEmIndentLineEndAllNoFloat | bool | r/w | If true, indents lines one full space and uses no float for all characters. |
| oneEmIndentLineEndAllOneEm | bool | r/w | If true, indents lines one full space and uses full-width spacing for all characters. |
| oneEmIndentLineEndAllOneHalfEm | bool | r/w | If true, indents lines one full space and uses half-width spacing for all characters. |
| oneEmIndentLineEndPeriodOneEm | bool | r/w | If true, indents lines one space and uses full-width spacing for punctuation and for the last character in the line. |
| oneEmIndentLineEndUkeNoFloat | bool | r/w | If true, indents lines one full space and uses line end uke no float. |
| oneEmIndentLineEndUkeOneHalfEm | bool | r/w | If true, indents lines one space and uses line end uke one half space. |
| oneOrOneHalfEmIndentLineEndAllOneEm | bool | r/w | If true, Uses full-witdh spacing for all characters except the last character in the line, which uses either full- or half-width spacing. |
| oneOrOneHalfEmIndentLineEndPeriodOneEm | bool | r/w | If true, indents lines one or one-half space and uses full-width spacing for punctuation and for the last character in the line. |
| oneOrOneHalfEmIndentLineEndUkeNoFloat | bool | r/w | If true, indents lines one half space or one full space and uses line end uke no float. |
| oneOrOneHalfEmIndentLineEndUkeOneHalfEm | bool | r/w | If true, indents lines one full or half space and uses line end uke one half space. |
| parent | ApplicationDocument | readonly | The parent of the MojikumiUiPreference (a Document or Application). |
| properties | Object | r/w | A property that allows setting of several properties at the same time. |
| showSimpChineseDefault | bool | r/w | If true, displays table for mojikumi tsume and aki optimized for Simplified Chinese punctuation glyphs. |
| showTradChineseDefault | bool | r/w | If true, displays table for mojikumi tsume and aki optimized for Traditional Chinese centered punctuation glyphs. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
| Parameter | Type | Description |
|---|---|---|
| eventType | string | The event type. |
| handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
| captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array
of MojikumiUiPreference getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
| Parameter | Type | Description |
|---|---|---|
| eventType | string | The registered event type. |
| handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
| captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the MojikumiUiPreference.
Element of
Application.mojikumiUIPreferences
Document.mojikumiUIPreferences
Return
Array of MojikumiUiPreference MojikumiUiPreference.getElements ()
| Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |