JComponentPack 1.5.0

com.zfqjava.swing.cell
Class CellStyle.Comment

java.lang.Object
  extended by com.zfqjava.swing.cell.CellStyle.Comment
All Implemented Interfaces:
Serializable
Enclosing class:
CellStyle

public static final class CellStyle.Comment
extends Object
implements Serializable

The comment

Since:
JDataGrid 1.8
See Also:
Serialized Form

Constructor Summary
CellStyle.Comment(String comment)
          Constructs a comment.
CellStyle.Comment(String text, String author)
          Constructs a comment.
CellStyle.Comment(String text, String author, Object helper)
          Constructs a comment.
 
Method Summary
 String getAuthor()
          Returns the author of the comment.
 Object getHelper()
          Returns the helper of the comment.
 String getText()
          Returns the text of the comment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellStyle.Comment

public CellStyle.Comment(String comment)
Constructs a comment.

Parameters:
comment - the text of the comment

CellStyle.Comment

public CellStyle.Comment(String text,
                         String author)
Constructs a comment.

Parameters:
text - the text of the comment
author - the author of the comment

CellStyle.Comment

public CellStyle.Comment(String text,
                         String author,
                         Object helper)
Constructs a comment.

Parameters:
text - the text of the comment
author - the author of the comment
helper - the helper to display comment
Method Detail

getText

public String getText()
Returns the text of the comment.

Returns:
the text of the comment

getAuthor

public String getAuthor()
Returns the author of the comment.

Returns:
the author of the comment

getHelper

public Object getHelper()
Returns the helper of the comment.

Returns:
the helper of the comment
Since:
JDataGrid 2.0.1

JComponentPack 1.5.0

Send your Feedback
JComponentPack 1.5.0
Copyright © 2001-2007 Extreme Component, Inc. All rights reserved.