Package ptolemy.actor.lib.gui
Interface TextFieldContainerInterface
-
- All Known Implementing Classes:
TextFieldContainerJavaSE
public interface TextFieldContainerInterface
The instance of this class would be able to visualize the value of a token within a text field that is placed into a container. MonitorValue and Const are two classes using it.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Ishwinder Singh
- Pt.AcceptedRating:
- Red (ahuseyno)
- Pt.ProposedRating:
- Red (ahuseyno)
-
-
Method Summary
All Methods Instance Methods Abstract 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 token)
Set the text to the value of the token.
-
-
-
Method Detail
-
init
void init(Sink sink) throws IllegalActionException, NameDuplicationException
Initiate .- 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
void place(PortableContainer container)
Place the visual representation of the actor into the specified container.- Parameters:
container
- The container in which to place the object
-
setValue
void setValue(Token token)
Set the text to the value of the token.- Parameters:
token
- The token containing the value
-
-