PreferencesMojikumiUiPreference

Mojikumi UI preferences.

Extends

Instance Properties

Name Description Access
eventListeners EventListeners A collection of event listeners. read-only
events Events A collection of events. read-only
isValid bool Returns true if the object specifier resolves to valid objects. read-only
lineEndAllOneEm bool If true, uses full-width spacing for all characters. read-write
lineEndAllOneHalfEm bool If true, uses half-width spacing for all characters. read-write
lineEndPeriodOneEm bool If true, uses full-width spacing for punctuation and for the last character in the line. read-write
lineEndUkeNoFloat bool If true, uses line end uke no float. read-write
oneEmIndentLineEndAllNoFloat bool If true, indents lines one full space and uses no float for all characters. read-write
oneEmIndentLineEndAllOneEm bool If true, indents lines one full space and uses full-width spacing for all characters. read-write
oneEmIndentLineEndAllOneHalfEm bool If true, indents lines one full space and uses half-width spacing for all characters. read-write
oneEmIndentLineEndPeriodOneEm bool If true, indents lines one space and uses full-width spacing for punctuation and for the last character in the line. read-write
oneEmIndentLineEndUkeNoFloat bool If true, indents lines one full space and uses line end uke no float. read-write
oneEmIndentLineEndUkeOneHalfEm bool If true, indents lines one space and uses line end uke one half space. read-write
oneOrOneHalfEmIndentLineEndAllOneEm bool If true, Uses full-witdh spacing for all characters except the last character in the line, which uses either full- or half-width spacing. read-write
oneOrOneHalfEmIndentLineEndPeriodOneEm bool If true, indents lines one or one-half space and uses full-width spacing for punctuation and for the last character in the line. read-write
oneOrOneHalfEmIndentLineEndUkeNoFloat bool If true, indents lines one half space or one full space and uses line end uke no float. read-write
oneOrOneHalfEmIndentLineEndUkeOneHalfEm bool If true, indents lines one full or half space and uses line end uke one half space. read-write
parent The parent of the MojikumiUiPreference (a Document or Application). read-only
properties Object A property that allows setting of several properties at the same time. read-write

Methods

addEventListener(
eventType, handler ​[, captures])
 → EventListener
removeEventListener(
eventType, handler ​[, captures])
 → bool
toSource(
)
 → string
toSpecifier(
)
 → string
addEventListener(
eventType, handler ​[, captures=false])
 → EventListener
Adds an event listener.
eventType string The event type.
handler The event handler. Can accept: File or JavaScript Function.
captures bool This parameter is obsolete. (Optional)
getElements(
)
 → MojikumiUiPreference
Resolves the object specifier, creating an array of object references.
removeEventListener(
eventType, handler ​[, captures=false])
 → bool
Removes the event listener.
eventType string The registered event type.
handler The registered event handler. Can accept: File or JavaScript Function.
captures bool This parameter is obsolete. (Optional)
toSource(
)
 → string
Generates a string which, if executed, will return the MojikumiUiPreference.
toSpecifier(
)
 → string
Retrieves the object specifier.