Classes | |
enum | OPTION_KEY |
Public Member Functions | |
WindowToken () | |
WindowToken (final String name, final String scriptName, final String pluginName, final String displayHost) | |
WindowToken (final Parcel p) | |
final WindowToken | copy () |
final void | setName (final String name) |
final String | getName () |
final String | getDisplayHost () |
final void | setDisplayHost (final String str) |
final int | describeContents () |
final void | writeToParcel (final Parcel p, final int arg1) |
final void | setBuffer (final TextTree buffer) |
final TextTree | getBuffer () |
final void | setBufferText (final boolean bufferText) |
final boolean | isBufferText () |
final void | setScriptName (final String scriptName) |
final String | getScriptName () |
final void | setPluginName (final String pluginName) |
final String | getPluginName () |
final void | setId (final int id) |
final int | getId () |
final HashMap < LayoutGroup.LAYOUT_TYPE, LayoutGroup > | getLayouts () |
final void | resetToDefaults () |
final LayoutParams | getLayout (final int size, final boolean landscape) |
final SettingsGroup | getSettings () |
final void | setSettings (final SettingsGroup settings) |
final void | setBufferSize (final int amount) |
final void | importV1Settings (final HyperSettings s) |
Static Public Attributes | |
static final int | DEFAULT_HYPERLINK_COLOR = 0xFF0000FF |
static final int | DEFAULT_HYPERLINK_MODE = 3 |
static final int | DEFAULT_COLOR_MODE = 0 |
static final int | DEFAULT_FONT_SIZE = 18 |
static final int | DEFAULT_LINE_EXTRA = 3 |
static final int | DEFAULT_BUFFER_SIZE = 300 |
static final String | DEFAULT_FONT_PATH = "monospace" |
static final Parcelable.Creator < WindowToken > | CREATOR |
The serializable data that constitutes a foreground miniwindow.
com.offsetnull.bt.service.WindowToken.WindowToken | ( | ) |
Generic constructor.
com.offsetnull.bt.service.WindowToken.WindowToken | ( | final String | name, |
final String | scriptName, | ||
final String | pluginName, | ||
final String | displayHost | ||
) |
A more functional constructor.
name | The name of this window. |
scriptName | The script body to execute (can be null). |
pluginName | The plugin name that owns this window. |
displayHost | The display name of the connection that owns this window. |
com.offsetnull.bt.service.WindowToken.WindowToken | ( | final Parcel | p | ) |
Parcellable constructor. Constructs from a parcel.
p | The incoming parcel object. |
final WindowToken com.offsetnull.bt.service.WindowToken.copy | ( | ) |
Shallow copy function.
final int com.offsetnull.bt.service.WindowToken.describeContents | ( | ) |
Required method for the Parcellable interface. I think this needs to return a unique random int.
final TextTree com.offsetnull.bt.service.WindowToken.getBuffer | ( | ) |
Getter for mBuffer.
final String com.offsetnull.bt.service.WindowToken.getDisplayHost | ( | ) |
Getter for mDisplayHost.
final int com.offsetnull.bt.service.WindowToken.getId | ( | ) |
Getter for mId.
final LayoutParams com.offsetnull.bt.service.WindowToken.getLayout | ( | final int | size, |
final boolean | landscape | ||
) |
Layout getter routine.
size | The size value for the display. |
landscape | True for landscape, false for portrait. |
final HashMap<LayoutGroup.LAYOUT_TYPE, LayoutGroup> com.offsetnull.bt.service.WindowToken.getLayouts | ( | ) |
Getter for mLayouts.
final String com.offsetnull.bt.service.WindowToken.getName | ( | ) |
Getter for mName.
final String com.offsetnull.bt.service.WindowToken.getPluginName | ( | ) |
Getter for mPluginName.
final String com.offsetnull.bt.service.WindowToken.getScriptName | ( | ) |
Getter for mScriptName.
final SettingsGroup com.offsetnull.bt.service.WindowToken.getSettings | ( | ) |
Getter for mSettings.
final void com.offsetnull.bt.service.WindowToken.importV1Settings | ( | final HyperSettings | s | ) |
Utility method to absorb v1 window settings into this window.
s | The old deprecated HyperSettings object to sniff for settings. |
final boolean com.offsetnull.bt.service.WindowToken.isBufferText | ( | ) |
Getter for mBufferText.
final void com.offsetnull.bt.service.WindowToken.resetToDefaults | ( | ) |
Utility method to reset this window token to the default values.
final void com.offsetnull.bt.service.WindowToken.setBuffer | ( | final TextTree | buffer | ) |
Setter for mBuffer.
buffer | The new buffer to use. |
final void com.offsetnull.bt.service.WindowToken.setBufferSize | ( | final int | amount | ) |
Utility method to set a new buffer size, prunes the tree after setting the value.
amount | The new buffer size to use. |
final void com.offsetnull.bt.service.WindowToken.setBufferText | ( | final boolean | bufferText | ) |
Setter for mBufferText.
bufferText | The new bufferText value. |
final void com.offsetnull.bt.service.WindowToken.setDisplayHost | ( | final String | str | ) |
Setter for mDisplayHost.
str | The display host name to use. |
final void com.offsetnull.bt.service.WindowToken.setId | ( | final int | id | ) |
Setter for mId.
id | The new id value to use. |
final void com.offsetnull.bt.service.WindowToken.setName | ( | final String | name | ) |
Setter for mName.
name | The name to use. |
final void com.offsetnull.bt.service.WindowToken.setPluginName | ( | final String | pluginName | ) |
Setter for mPluginName.
pluginName | The new plugin owner name to use. |
final void com.offsetnull.bt.service.WindowToken.setScriptName | ( | final String | scriptName | ) |
Setter for mScriptName.
scriptName | The new script name to execute on window initialization. |
final void com.offsetnull.bt.service.WindowToken.setSettings | ( | final SettingsGroup | settings | ) |
Setter for mSettings.
settings | The new settings group to use for this window's settings. |
final void com.offsetnull.bt.service.WindowToken.writeToParcel | ( | final Parcel | p, |
final int | arg1 | ||
) |
Implementation of the Parcelable writeToParcel method.
p | The parcel to write to. |
arg1 | The flags for the operation. |
|
static |
Required field for the parcelable interface.
|
static |
Default buffer size.
|
static |
Default colorizing mode.
|
static |
Default font path.
|
static |
Default font size.
|
static |
Default hyperlink color.
|
static |
Default hyperlink mode.
|
static |
Default line spacing extra size.