A B C D E F G H I M N P R S T U V

A

addComponent(JComponent, JPanel, ScreenPos, String) - Method in class vscript.interpreter.TagInterpreter
Metod called if the interpreted child object is a Component and the interpreted object is a Container.
This method is to be overridden by Interpreters that interpret Container objects with different behaviour.Default behaviour sets the Layout of the container to PercentLayout if it is not PercentLayout.
If the tag does not contain the pos attribute the component is not added.
applet - Static variable in class vscript.VSRHelper
 

B

backColor - Static variable in class vscript.VSRHelper
 
baseDir - Variable in class vscript.VSRHelper
 
border - Static variable in class vscript.VSRHelper
 
borderColor - Static variable in class vscript.VSRHelper
 
borderColor2 - Static variable in class vscript.VSRHelper
 

C

config - Variable in class vscript.VSRHelper
 
constructMessage() - Method in class vscript.message.Message
 

D

deliverMessage(String) - Method in class vscript.interpreter.EventTagManager
Delivers the message to the specified destination.

E

EventTagManager - class vscript.interpreter.EventTagManager.
EventTagManager object is provided to all Messagable objects and is used to handle the Event tags and for sending messages.Messageable objects can keep the referencte to EventTagManager in order to generete events.
EventTagManager(MessageNode) - Constructor for class vscript.interpreter.EventTagManager
 
EventTagManager(VScriptRunner, MessageNode) - Constructor for class vscript.interpreter.EventTagManager
 

F

foreColor - Static variable in class vscript.VSRHelper
 

G

getArguments() - Method in class vscript.message.Message
Get the arguments in the message.
getAttributeValue(String) - Method in class vscript.Tag
Returns the value of the specified attribute.
getDataValue(String) - Method in interface vscript.message.Messagable
This method has to be implemented by Messagable objects in order to provide other components with requested data.
getDestination() - Method in class vscript.message.Message
Returns the destination of the message.
getFullTagName() - Method in class vscript.Tag
Returns the full name of the tag.
getImage(String, String) - Method in class vscript.interpreter.TagInterpreter
The methods helps interpreters to load images.
If the baseStr is null then the imgStr is treated as representing a absolute URL.
If imgStr is not an absolute URL then the methods tries to load the image from the code base.
getImage(String, String) - Method in class vscript.VSRHelper
The loacation of the image is always specified as basurl,imagename.
getInterpreter() - Method in class vscript.Tag
Returns the interpreter instance.
getLoadURL(String, String) - Method in class vscript.VSRHelper
If base url is null the name is treated as an absolute url, but if the image name is not an absolute url then the code base is considered as the base url.
getMessageString() - Method in class vscript.message.Message
Returns the name of the message.
getNextDestination(boolean) - Method in class vscript.message.Message
 
getNextDestIndex() - Method in class vscript.message.Message
 
getOutput() - Method in class vscript.VSRHelper
 
getSourceMessageNode() - Method in class vscript.message.Message
Returns the source message node of this message.
getSubTag() - Method in class vscript.Tag
Return all the subTags, the returned array contains null if a sub tag was deleted.
getSubTag(String) - Method in class vscript.Tag
Return all the subtags with the given tag name.
getSubTagList() - Method in class vscript.interpreter.TagInterpreter
Any interpreter that wants to control which subtags it can allow must override this method.Method that returns a list containing list of subtags that are to be processed.
getTagData() - Method in class vscript.Tag
Return the tag data.
getTagIdentifier() - Method in class vscript.Tag
Returns the tag identifier.
getTagName() - Method in class vscript.Tag
Returns the tag name.
getVSRHelper() - Static method in class vscript.VSRHelper
 
getVSRHelper(Applet) - Static method in class vscript.VSRHelper
If invoking object is not an applet pass null.

H

handleMessage(Message) - Method in interface vscript.message.Messagable
This method allows the component to recieve messages.
handleMessageGUI(JComponent, Message) - Static method in class vscript.interpreter.TagInterpreter
Helper methods that handles messages to be understood by all GUI components.

I

interpret(Tag, MessageNode, int) - Method in class vscript.interpreter.TagInterpreter
Interprets the Tag and returns the interpreted object.
Working level is the level at which the interpreter is working.
interpretObject(Tag) - Method in class vscript.interpreter.TagInterpreter
For subclasses to override.

M

Messagable - interface vscript.message.Messagable.
Any object that needs to send or recieve messages need to implement the messagable interface.
Message - class vscript.message.Message.
The message object represents the message passed between messagable components.
Message(LinkedList, String, String[]) - Constructor for class vscript.message.Message
 

N

nameReqd() - Method in class vscript.interpreter.TagInterpreter
To check if the tag requires an identifier or not.By default true is returned.If a tag does not have a identifier return false.

P

parseTagBody(List) - Method in class vscript.Tag
This method is used so that the tag body is only parsed when called for.
prepareMessage(MessageNode) - Method in class vscript.message.Message
Prepare message prepares the message by filling in the values for all place holders.
processAttributes(Component, Tag) - Static method in class vscript.interpreter.TagInterpreter
Process bcolor,fcolor,border,enable,disable attributes.
processAttributes(Component, Tag, boolean, boolean, boolean, boolean) - Static method in class vscript.interpreter.TagInterpreter
Process bcolor,fcolor,border,enable,disable attributes.
processBColor(Component, String) - Static method in class vscript.interpreter.TagInterpreter
Helper method that helps to handle bcolor attribute.If arg is null then default color form VSRHelper is taken.
processBorder(Component, String) - Static method in class vscript.interpreter.TagInterpreter
Helper method that helps to handle border attribute.If arg is null then default border form VSRHelper is taken.
processEnabled(Component, String) - Static method in class vscript.interpreter.TagInterpreter
Helper method that helps to handle Enabled attribute.
processEvent(String) - Method in class vscript.interpreter.EventTagManager
Process the event tag handling a specific event.
processFColor(Component, String) - Static method in class vscript.interpreter.TagInterpreter
Helper method that helps to handle fcolor attribute.If arg is null then default color form VSRHelper is taken.
processObject(Object) - Method in class vscript.interpreter.TagInterpreter
Method should be overridden by interpreters to do some processing on child objects like adding as listeners..ect.
processVisible(Component, String) - Static method in class vscript.interpreter.TagInterpreter
Helper method that helps to handle Visible attribute.

R

removeNextDestination() - Method in class vscript.message.Message
 
removeSubTag(String) - Method in class vscript.Tag
Remove all subtags with specified name.
resetDestination() - Method in class vscript.message.Message
 

S

setBorder(JComponent, String) - Static method in class vscript.interpreter.TagInterpreter
This method is a helper method that helps to set border around passes component based on the number passed as a string object.
setEventTagManager(EventTagManager) - Method in interface vscript.message.Messagable
This method is used to provide the Event tag manager object to component.Messagable objects can hold the reference to EventTagManager in order to help them generate events and thus process their event tags.
setInterpretOrder(List) - Method in class vscript.interpreter.TagInterpreter
Called to change the order of interpretation if required.
setMessageNode(MessageNode) - Method in class vscript.Tag
This method is necessary so as to set the messageNode object in order for the Tag to transparently handle getAttributeValue methods taking into account values in the specified attribute holder.
setNextDestIndex(int) - Method in class vscript.message.Message
 
setSourceMessageNode(MessageNode) - Method in class vscript.message.Message
Sets the sourceMessageNode of this message.
setTagData(String) - Method in class vscript.Tag
Set tag data.

T

Tag - class vscript.Tag.
Tag class represents a Tag in VScript and contains tags name,identifer header, subtags and tagdata.
Tag(String, String, StringBuffer, StringBuffer) - Constructor for class vscript.Tag
 
TagInterpreter - class vscript.interpreter.TagInterpreter.
The TagInterpreter object interprets the tag.
It creates the object corresponding to the TAG.
It also constructs the message tree transparent to the user.
TagInterpreter contains a number of helper methods that help in interpreting the tag.
Most of the interpreters have to override only the interpretObject method to create an suitable interpreter.
TagInterpreter() - Constructor for class vscript.interpreter.TagInterpreter
 
toString() - Method in class vscript.message.Message
 

U

userDir - Variable in class vscript.VSRHelper
 

V

validLevel(int) - Method in class vscript.interpreter.TagInterpreter
This method should be overridden by interpreters to indiciate if it is valid for the interpreter to work at a perticular level.
version - Static variable in class vscript.VSRHelper
 
vscript - package vscript
 
vscript.interpreter - package vscript.interpreter
 
vscript.message - package vscript.message
 
vsrHelper - Static variable in class vscript.VSRHelper
 
VSRHelper - class vscript.VSRHelper.
Object that provieds services and contains default values to be used.

A B C D E F G H I M N P R S T U V