com.gridsystems.config.tools.console
Class MessageField

java.lang.Object
  extended by com.gridsystems.config.tools.console.Field
      extended by com.gridsystems.config.tools.console.MessageField

public class MessageField
extends Field

A message display field.

Version:
1.0
Author:
Rodrigo Ruiz Aguayo

Field Summary
 
Fields inherited from class com.gridsystems.config.tools.console.Field
bundle
 
Constructor Summary
MessageField()
          Creates a new instance.
 
Method Summary
 void addLine(java.lang.String line)
          Adds a message line.
 java.lang.String[] getContents()
          Gets the contents of this field.
 void reset()
          Resets the message contents.
 
Methods inherited from class com.gridsystems.config.tools.console.Field
getString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageField

public MessageField()
Creates a new instance. Messages are not internationalized, so there is no bundle.

Method Detail

reset

public void reset()
Resets the message contents.


addLine

public void addLine(java.lang.String line)
Adds a message line.

Parameters:
line - The message line

getContents

public java.lang.String[] getContents()
Gets the contents of this field.

Specified by:
getContents in class Field
Returns:
The contents of this field


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.