LegendEntry

Inheritance: java.lang.Object

public class LegendEntry

Represents a legend entry in a chart legend.

Methods

MethodDescription
equals(Object arg0)
getAutoScaleFont()True if the text in the object changes font size when the object size changes.
getBackground()Gets the display mode of the background
getBackgroundMode()Gets the display mode of the background
getClass()
getFont()Gets a ChartArea.getFont() object of the specified ChartFrame object.
getTextFont()Gets a ChartArea.getFont() object of the specified LegendEntry object.
hashCode()
isDeleted()Gets whether the legend entry is deleted.
isTextNoFill()Gets no fill of the text.
notify()
notifyAll()
setAutoScaleFont(boolean value)True if the text in the object changes font size when the object size changes.
setBackground(int value)Sets the display mode of the background
setBackgroundMode(int value)Sets the display mode of the background
setDeleted(boolean value)Sets whether the legend entry is deleted.
setTextNoFill(boolean value)Sets no fill of the text.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getAutoScaleFont()

public boolean getAutoScaleFont()

True if the text in the object changes font size when the object size changes. The default value is True.

Returns: boolean

getBackground()

public int getBackground()

Gets the display mode of the background

See BackgroundMode.

Remarks

NOTE: This member is now obsolete. Instead, please use LegendEntry.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

Returns: int

getBackgroundMode()

public int getBackgroundMode()

Gets the display mode of the background

See BackgroundMode.

Returns: int

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getFont()

public Font getFont()

Gets a ChartArea.getFont() object of the specified ChartFrame object.

Returns: Font

getTextFont()

public Font getTextFont()

Gets a ChartArea.getFont() object of the specified LegendEntry object.

Remarks

NOTE: This member is now obsolete. Instead, please use LegendEntry.Font property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

Returns: Font

hashCode()

public native int hashCode()

Returns: int

isDeleted()

public boolean isDeleted()

Gets whether the legend entry is deleted.

Returns: boolean

isTextNoFill()

public boolean isTextNoFill()

Gets no fill of the text.

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setAutoScaleFont(boolean value)

public void setAutoScaleFont(boolean value)

True if the text in the object changes font size when the object size changes. The default value is True.

Parameters:

ParameterTypeDescription
valueboolean

setBackground(int value)

public void setBackground(int value)

Sets the display mode of the background

See BackgroundMode.

Remarks

NOTE: This member is now obsolete. Instead, please use LegendEntry.BackgroundMode property. This property will be removed 12 months later since JANUARY 2012. Aspose apologizes for any inconvenience you may have experienced.

Parameters:

ParameterTypeDescription
valueint

setBackgroundMode(int value)

public void setBackgroundMode(int value)

Sets the display mode of the background

See BackgroundMode.

Parameters:

ParameterTypeDescription
valueint

setDeleted(boolean value)

public void setDeleted(boolean value)

Sets whether the legend entry is deleted.

Parameters:

ParameterTypeDescription
valueboolean

setTextNoFill(boolean value)

public void setTextNoFill(boolean value)

Sets no fill of the text.

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int