Package ptolemy.actor.lib.gui
Class TextFieldContainerJavaSE
- java.lang.Object
-
- ptolemy.actor.lib.gui.TextFieldContainerJavaSE
-
- All Implemented Interfaces:
TextFieldContainerInterface
public class TextFieldContainerJavaSE extends java.lang.Object implements TextFieldContainerInterface
JavaSE implementation of the TextFieldContainerInterface.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Ishwinder Singh
- Pt.AcceptedRating:
- Red (ishwinde)
- Pt.ProposedRating:
- Red (ishwinde)
-
-
Constructor Summary
Constructors Constructor Description TextFieldContainerJavaSE()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init(Sink sink)
Initiate.void
place(PortableContainer container)
Place the visual representation of the actor into the specified container.void
setValue(Token value)
Set the text to the value of the token.
-
-
-
Method Detail
-
init
public void init(Sink sink) throws IllegalActionException, NameDuplicationException
Initiate. Do nothing here.- Specified by:
init
in interfaceTextFieldContainerInterface
- Parameters:
sink
- Object of the Sink actor.- Throws:
IllegalActionException
- If the entity cannot be contained by the proposed container.NameDuplicationException
- If the container already has an actor with this name.
-
place
public void place(PortableContainer container)
Place the visual representation of the actor into the specified container.- Specified by:
place
in interfaceTextFieldContainerInterface
- Parameters:
container
- The container in which to place the object
-
setValue
public void setValue(Token value)
Set the text to the value of the token.- Specified by:
setValue
in interfaceTextFieldContainerInterface
- Parameters:
value
- The Parameter containing the value
-
-