Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.BufferControl
Source: src/com/multiversesocial/hyperview/BufferControl.java

BufferControl

HyperView V3.2 — interface
version V3.2 interface

Summary

Basic text formatting used by TextPane.class Change font size change font style

Source file: BufferControl.java

Hierarchy

Extends: none

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public abstract interface BufferControl

Declared in src/com/multiversesocial/hyperview/BufferControl.java, lines 5–31. 15 field(s), 0 constructor(s), 1 method(s). Every member has an anchor you can link to (e.g. BufferControl.html#<id>).

Fields (15)

DeclarationValue / initializerDescriptionSource
public static final byte[] controlBuffer= nullNo comment in source; name appears in 1 other source file(s): TextPane.line 29
public static final int controlBufferFlags= 0 (constant)No comment in source; not referenced by name in this type’s methods.line 23
public static final int SET_FONTSIZE_EXTRA_LARGE= 5 (constant)1-5 = 3 bits to hereline 12
public static final int SET_FONTSIZE_LARGE= 4 (constant)Todo: bitshift/pack to byteline 11
public static final int SET_FONTSIZE_MEDIUM= 3 (constant)No comment in source; not referenced by name in this type’s methods.line 10
public static final int SET_FONTSIZE_SMALL= 2 (constant)No comment in source; not referenced by name in this type’s methods.line 9
public static final int SET_FONTSIZE_TINY= 1 (constant)Change font sizeline 8
public static final int SET_FONTSTYLE_BOLD= 7 (constant)No comment in source; not referenced by name in this type’s methods.line 15
public static final int SET_FONTSTYLE_FLASH= 13 (constant)No comment in source; not referenced by name in this type’s methods.line 21
public static final int SET_FONTSTYLE_INVERSE= 12 (constant)No comment in source; not referenced by name in this type’s methods.line 20
public static final int SET_FONTSTYLE_ITALIXC= 8 (constant)No comment in source; not referenced by name in this type’s methods.line 16
public static final int SET_FONTSTYLE_NORMAL= 6 (constant)change font styleline 14
public static final int SET_FONTSTYLE_SUBSCRIPT= 11 (constant)No comment in source; not referenced by name in this type’s methods.line 19
public static final int SET_FONTSTYLE_SUPERSCRIPT= 10 (constant)6-13 = 4 more bitsline 18
public static final int SET_FONTSTYLE_UNDERLINED= 9 (constant)No comment in source; not referenced by name in this type’s methods.line 17

Constructors (0)

None (interface).

Methods (1)

SignatureDescriptionSource
static { … }Implicit default constructor generated by the compiler (not written in the source).implicit

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

implements — TextPane.java, line 28

   28  implements TextPaneConstants,HyperFileRequestPopListener,BufferControl
   29  {
Hits--