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

OrangeContext

HyperView V3.2 — interface
version V3.2 interface

Summary

OrangeContext specific methods AppletContext compatible methods (original spec)

Source file: OrangeContext.java

Hierarchy

Extends: Haltable

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public abstract interface OrangeContext extends Haltable

Declared in src/com/multiversesocial/hyperview/OrangeContext.java, lines 12–68. 11 field(s), 0 constructor(s), 38 method(s). Every member has an anchor you can link to (e.g. OrangeContext.html#<id>).

Fields (11)

DeclarationValue / initializerDescriptionSource
public static final int IN_JAR= 1 (constant)No comment in source; not referenced by name in this type’s methods.line 14
public static final int IO_CLIENT_SOCKET= 2 (constant)No comment in source; not referenced by name in this type’s methods.line 22
public static final int IO_LOCAL= 0 (constant)No comment in source; not referenced by name in this type’s methods.line 20
public static final int IO_MULTIPLEX_ENA= 16 (constant)No comment in source; not referenced by name in this type’s methods.line 18
public static final int IO_SERVER_SOCKET= 1 (constant)No comment in source; not referenced by name in this type’s methods.line 21
public static final int IO_STDERR= 5 (constant)No comment in source; not referenced by name in this type’s methods.line 25
public static final int IO_STDIN= 3 (constant)No comment in source; not referenced by name in this type’s methods.line 23
public static final int IO_STDOUT= 4 (constant)No comment in source; not referenced by name in this type’s methods.line 24
public static final int STDERR_ENA= 8 (constant)No comment in source; not referenced by name in this type’s methods.line 17
public static final int STDIN_ENA= 2 (constant)No comment in source; not referenced by name in this type’s methods.line 15
public static final int STDOUT_ENA= 4 (constant)No comment in source; name appears in 1 other source file(s): HyperChannelConstants.line 16

Constructors (0)

None (interface).

Methods (38)

SignatureDescriptionSource
public abstract void expunge()Interface method (no body); implemented by classes that implement this interface.
Implements Haltable.expunge()
line 44
public abstract AudioClip getAudioClip(URL url)AppletContext compatible methods (original spec)line 47
public abstract AudioClip getAudioClip(URL url, String name)Interface method (no body); implemented by classes that implement this interface.line 48
public abstract URL getCodeBase()Interface method (no body); implemented by classes that implement this interface.line 52
public abstract Component getComponent(String tString)Interface method (no body); implemented by classes that implement this interface.line 36
public abstract HyperLinkedList getComponentList()Interface method (no body); implemented by classes that implement this interface.line 37
public abstract URL getDocumentBase()Interface method (no body); implemented by classes that implement this interface.line 53
public abstract int getFlags()Interface method (no body); implemented by classes that implement this interface.line 32
public abstract int getID()OrangeContext specific methodsline 28
public abstract Image getImage(URL tURL)Interface method (no body); implemented by classes that implement this interface.line 39
public abstract Image getImage(URL url, String name)Interface method (no body); implemented by classes that implement this interface.line 49
public abstract HyperLinkedList getInputStream(String tString)Interface method (no body); implemented by classes that implement this interface.line 40
public abstract Orange getOrange(String name)Interface method (no body); implemented by classes that implement this interface.line 67
public abstract Enumeration<Orange> getOranges()Interface method (no body); implemented by classes that implement this interface.line 66
public abstract String getParameter(String name)Interface method (no body); implemented by classes that implement this interface.line 50
public abstract String[][] getParameterInfo()Interface method (no body); implemented by classes that implement this interface.line 51
public abstract Runnable getRunnable()Interface method (no body); implemented by classes that implement this interface.line 35
public abstract AudioClip getSound(URL url)Interface method (no body); implemented by classes that implement this interface.line 38
public abstract InputStream getStream(String key)Interface method (no body); implemented by classes that implement this interface.line 64
public abstract Iterator<String> getStreamKeys()Interface method (no body); implemented by classes that implement this interface.line 65
public abstract Thread getThread()Interface method (no body); implemented by classes that implement this interface.
Implements Haltable.getThread()
line 34
public abstract void halt()Interface method (no body); implemented by classes that implement this interface.
Implements Haltable.halt()
line 30
public abstract void init()Interface method (no body); implemented by classes that implement this interface.line 55
public abstract boolean isActive()Interface method (no body); implemented by classes that implement this interface.line 54
public abstract void play(URL url)Interface method (no body); implemented by classes that implement this interface.line 59
public abstract void play(URL url, String name)Interface method (no body); implemented by classes that implement this interface.line 60
public abstract void resize(Dimension d)Interface method (no body); implemented by classes that implement this interface.line 56
public abstract void resize(int width, int height)Interface method (no body); implemented by classes that implement this interface.line 57
public abstract void setFlags(int tInt)Interface method (no body); implemented by classes that implement this interface.line 31
public abstract void setInputStream(String key, InputStream tStream) throws IOExceptionInterface method (no body); implemented by classes that implement this interface.line 41
public abstract void setStream(String key, InputStream stream) throws IOExceptionInterface method (no body); implemented by classes that implement this interface.line 63
public abstract void setStub(OrangeStub stub)Interface method (no body); implemented by classes that implement this interface.line 58
public abstract void showDocument(URL url)Interface method (no body); implemented by classes that implement this interface.line 61
public abstract void showDocument(URL url, String target)Interface method (no body); implemented by classes that implement this interface.line 62
public abstract void showDocument(URL tURL, String tBMLFileName, int tFlags)Interface method (no body); implemented by classes that implement this interface.line 42
public abstract void showFlags()Interface method (no body); implemented by classes that implement this interface.line 33
public abstract void showStatus(String tStatus)Interface method (no body); implemented by classes that implement this interface.line 43
public abstract void start()Interface method (no body); implemented by classes that implement this interface.line 29

Examples

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

implements — Orange.java, line 14

   14  public class Orange extends Component implements OrangeContext, OrangeStub, Haltable
   15  {

Applet hosting

OrangeContext is part of how HyperView hosts application-level applets (with some modifications). See the Applet Migration Guide.

Hits--