Squeak Class Documentation category index | class index  
 
VRMLNodeSpec
  category: Balloon3D-VRML Definition
  superclass: Object
  subclasses:

This class represents the specification for a VRML node.

Instance variables:
name <String> The name of the node
attributes <Collection of: VRMLNodeAttribute> All defined attributes for this node
vrmlClass <Class> The class used for constructing an instance of this spec
nodeId <Integer|nil> The index of this node in the spec list
attrDict <Dictionary> The mapping of names to attributes

instance methods
  accessing
  addAttribute:
attrDict
attributeNamed:
attributes
defineGenericIn:
getFieldNamed:
name
newInstance
nodeId
nodeId:
vrmlClass:

  debug
  warn:

  initialize
  name:attributes:

  printing
  print:on:indent:
printOn:

  reading
  readAttributeFrom:in:
readFrom:in:

  testing
  containsAttribute:ofType:

class methods
  accessing
  currentSpecs
undefinedSpec

  class initialization
  initialize

  instance creation
  name:attributes:

  vrml97
  vrml97NodeDefinition
vrml97Nodes

instance methods
  accessing top  
 

addAttribute:


 

attrDict


 

attributeNamed:


 

attributes


 

defineGenericIn:


 

getFieldNamed:


 

name

Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..


 

newInstance


 

nodeId


 

nodeId:


 

vrmlClass:


  debug top  
 

warn:


  initialize top  
 

name:attributes:


  printing top  
 

print:on:indent:


 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


  reading top  
 

readAttributeFrom:in:

Read an attribute


 

readFrom:in:

Read a node


  testing top  
 

containsAttribute:ofType:


class methods
  accessing top  
 

currentSpecs


 

undefinedSpec


  class initialization top  
 

initialize

VRMLNodeSpec initialize


  instance creation top  
 

name:attributes:


  vrml97 top  
 

vrml97NodeDefinition

Node definitions from the VRML97 spec - HACKED in Script node!


 

vrml97Nodes

VRMLNodeSpec initialize