edu.iu.cnets.klatsch.lang
Class VPane

java.lang.Object
  extended by edu.iu.cnets.klatsch.lang.Value
      extended by edu.iu.cnets.klatsch.lang.VPane

public class VPane
extends Value

This makes Pane objects in the GUI a first-class value in Klatsch, enabling manipulation, export, and other cool things. Think of them as being a bit like handles in MATLAB.


Field Summary
 Pane p
          the pane we're encapsulating
 
Constructor Summary
VPane(Pane p)
          Constructs a new pane.
 
Method Summary
 Value method_id(Value... args)
          id() : Returns the ID of the pane.
 Value method_name(Value... args)
          name() : Returns the name of the pane.
 Value method_prop(Value... args)
          prop(s) : Returns the property with the given name
 java.lang.String toString()
          Construct a printable representation of the pane.
 
Methods inherited from class edu.iu.cnets.klatsch.lang.Value
require, requireCount, requireType, toJson
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

p

public Pane p
the pane we're encapsulating

Constructor Detail

VPane

public VPane(Pane p)
Constructs a new pane.

Method Detail

toString

public java.lang.String toString()
Construct a printable representation of the pane.

Specified by:
toString in class Value
Returns:
the string

method_id

public Value method_id(Value... args)
                throws EvaluationException
id() : Returns the ID of the pane.

Throws:
EvaluationException

method_name

public Value method_name(Value... args)
                  throws EvaluationException
name() : Returns the name of the pane.

Throws:
EvaluationException

method_prop

public Value method_prop(Value... args)
                  throws EvaluationException
prop(s) : Returns the property with the given name

Throws:
EvaluationException