[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

Entrance

mixes in with Viewable
inherits from CanInstallSelf
inherits from HasDestination

CanInstallSelf <- Entrance



Operations

Get list of all operations

FallbackImage
FinishInstallingSelf
InstallFallback


Attributes

Get list of all attributes

AuthoringModeOnly


Fields

Field Type
HasDestination: destination: Viewable


Instance template

Class Entrance cannot be instantiated.


Class definition

Define Class Entrance;
    mixes in with Viewable;
    inherits from CanInstallSelf;
    inherits from HasDestination;

    attribute AuthoringModeOnly: Boolean, readOnly;
        // Is this entrance only visible in authoring mode?
        // Currently, this is only respected by certain
        // subclasses of CanContainEntrances. The default 
        // method always returns false.
        
    overrides FinishInstallingSelf;
        // If the entrance was installed from a package, tries to set the
        // iPackageMainEntrance indexical if it hasn't already been set.
        // Also checks to see if the destination's stepback is valid, and
        // sets it to something reasonable if it is not.
    overrides InstallFallback;
        // Tries to install an entrance in iGuaranteedInstallLocation, 
        // and uses FallbackImage(self) to try to give the newly created 
        // entrance some character.  Feel free to override this is there
        // is a better way to make a fallback for your subclass.
    operation FallbackImage() : Image;
        // Image to use when creating a fallback entrance.
        // The default method just calls Image(self).
        // Sometimes override.
end class;