![]() |
||
Home Products Purchase Downloads Demos Forums Blogs Ticket Wiki API Corporate |
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.cells.ChartFrame
com.aspose.cells.LegendEntry
public class LegendEntry
Represents a legend entry in a chart legend. The LegendEntry object is a member of the LegendEntries collection.
Method Summary | |
---|---|
int |
compareTo(int index)
Compares this LegendEntry with another one that has given entry index for order. |
int |
compareTo(LegendEntry entry)
Compares this LegendEntry with another one for order. |
Area |
getArea()
Gets the Area. |
byte |
getBackgroundMode()
Gets the display mode of the background. |
Line |
getBorder()
Gets the border Line. |
Font |
getFont()
Gets the Font of this LegendEntry. |
int |
getIndex()
Gets the index of this LegendEntry. |
int |
getKey()
Gets the comparable key of this LegendEntry. |
boolean |
isAutoScaleFont()
Check whether the text in the object changes font size when the object size changes. |
boolean |
isDeleted()
Gets whether the lengend entry is deleted. |
void |
setAutoScaleFont(boolean isAutoScaleFont)
Set whether the text in the object changes font size when the object size changes. |
void |
setBackgroundMode(byte mode)
Sets the display mode of the background. |
void |
setDeleted(boolean deleted)
Sets whether the lengend entry is deleted. |
void |
setKey(int key)
Sets the comparable key of this LegendEntry. |
Methods inherited from class com.aspose.cells.ChartFrame |
---|
equals, getAreaOrNull, getBorderOrNull |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Line getBorder()
getBorder
in class ChartFrame
public Area getArea()
getArea
in class ChartFrame
public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- whether the lengend entry is deletedpublic Font getFont()
public boolean isAutoScaleFont()
public void setAutoScaleFont(boolean isAutoScaleFont)
isAutoScaleFont
- true if the text in the object changes font size when the object size changes.public byte getBackgroundMode()
setBackgroundMode(byte)
public void setBackgroundMode(byte mode)
mode
- the display mode of the background. It could be one of following:
BackgroundMode.AUTOMATIC |
BackgroundMode.TRANSPARENT |
BackgroundMode.OPAQUE |
public int getIndex()
public int compareTo(int index)
index
- the entry index to be compared with the entry index of this LegendEntry.
public int compareTo(LegendEntry entry)
entry
- the LegendEntry to be compared with this one.
public int getKey()
getIndex()
.
public void setKey(int key)
key
- key value.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |