GridComment
Inheritance: java.lang.Object
public class GridComment
Encapsulates the object that represents a cell comment.
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getAuthor() | Gets Name of the original comment author |
getAutoSize() | Indicates if size of comment is adjusted automatically according to its content. |
getClass() | |
getColumn() | Gets the column index of the comment. |
getHeight() | Represents the Height of the comment, in unit of pixels. |
getHeightCM() | Represents the height of the comment, in unit of centimeters. |
getHeightInch() | Represents the height of the comment, in unit of inches. |
getHtmlNote() | Gets the html string which contains data and some formats in this comment. |
getNote() | Represents the content of comment. |
getRow() | Gets the row index of the comment. |
getWidth() | Represents the width of the comment, in unit of pixels. |
getWidthCM() | Represents the width of the comment, in unit of centimeters. |
getWidthInch() | Represents the width of the comment, in unit of inches. |
hashCode() | |
isVisible() | Represents if the comment is visible or not. |
notify() | |
notifyAll() | |
setAuthor(String value) | Sets Name of the original comment author |
setAutoSize(boolean value) | Indicates if size of comment is adjusted automatically according to its content. |
setHeight(int value) | Represents the Height of the comment, in unit of pixels. |
setHeightCM(double value) | Represents the height of the comment, in unit of centimeters. |
setHeightInch(double value) | Represents the height of the comment, in unit of inches. |
setHtmlNote(String value) | Sets the html string which contains data and some formats in this comment. |
setNote(String value) | Represents the content of comment. |
setVisible(boolean value) | Represents if the comment is visible or not. |
setWidth(int value) | Represents the width of the comment, in unit of pixels. |
setWidthCM(double value) | Represents the width of the comment, in unit of centimeters. |
setWidthInch(double value) | Represents the width of the comment, in unit of inches. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getAuthor()
public String getAuthor()
Gets Name of the original comment author
Returns: java.lang.String
getAutoSize()
public boolean getAutoSize()
Indicates if size of comment is adjusted automatically according to its content.
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getColumn()
public int getColumn()
Gets the column index of the comment.
Returns: int
getHeight()
public int getHeight()
Represents the Height of the comment, in unit of pixels.
Returns: int
getHeightCM()
public double getHeightCM()
Represents the height of the comment, in unit of centimeters.
Returns: double
getHeightInch()
public double getHeightInch()
Represents the height of the comment, in unit of inches.
Returns: double
getHtmlNote()
public String getHtmlNote()
Gets the html string which contains data and some formats in this comment.
Returns: java.lang.String
getNote()
public String getNote()
Represents the content of comment.
Returns: java.lang.String
getRow()
public int getRow()
Gets the row index of the comment.
Returns: int
getWidth()
public int getWidth()
Represents the width of the comment, in unit of pixels.
Returns: int
getWidthCM()
public double getWidthCM()
Represents the width of the comment, in unit of centimeters.
Returns: double
getWidthInch()
public double getWidthInch()
Represents the width of the comment, in unit of inches.
Returns: double
hashCode()
public native int hashCode()
Returns: int
isVisible()
public boolean isVisible()
Represents if the comment is visible or not.
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setAuthor(String value)
public void setAuthor(String value)
Sets Name of the original comment author
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setAutoSize(boolean value)
public void setAutoSize(boolean value)
Indicates if size of comment is adjusted automatically according to its content.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setHeight(int value)
public void setHeight(int value)
Represents the Height of the comment, in unit of pixels.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setHeightCM(double value)
public void setHeightCM(double value)
Represents the height of the comment, in unit of centimeters.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setHeightInch(double value)
public void setHeightInch(double value)
Represents the height of the comment, in unit of inches.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setHtmlNote(String value)
public void setHtmlNote(String value)
Sets the html string which contains data and some formats in this comment.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setNote(String value)
public void setNote(String value)
Represents the content of comment.
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setVisible(boolean value)
public void setVisible(boolean value)
Represents if the comment is visible or not.
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
setWidth(int value)
public void setWidth(int value)
Represents the width of the comment, in unit of pixels.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setWidthCM(double value)
public void setWidthCM(double value)
Represents the width of the comment, in unit of centimeters.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
setWidthInch(double value)
public void setWidthInch(double value)
Represents the width of the comment, in unit of inches.
Parameters:
Parameter | Type | Description |
---|---|---|
value | double |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |