xlschartlegend-ag凯发旗舰厅



com.spire.xls.core.spreadsheet.charts
class xlschartlegend

java.lang.object
  extended by com.spire.xls.core.spreadsheet.xlsobject
      extended by com.spire.xls.core.spreadsheet.charts.xlschartlegend
all implemented interfaces:
ichartlegend
direct known subclasses:
chartlegend

public class xlschartlegend
extends xlsobject
implements ichartlegend

constructor summary
xlschartlegend(java.lang.object parent)
           
 
method summary
 void clear()
          clears chart legend.
 xlschartlegend deepclone(java.lang.object parent, java.util.hashmap dicfontindexes, java.util.hashmap dicnewsheetnames)
          clones current object.
 void delete()
          deletes chart legend.
 boolean getautoposition()
          automatic positioning .
 boolean getautopositionx()
          x positioning is automatic.
 boolean getautopositiony()
          y positioning is automatic.
 ichartframeformat getframeformat()
           
 int getheight()
          y-size.
 boolean getincludeinlayout()
          show legend without overlapping.
 boolean getinnerlayouttarget()
           
 ichartlegendentries getlegendentries()
          represents legend entries collection.
 legendpositiontype getposition()
          legend position type.
 icharttextarea gettextarea()
          return text area of legend.
 int getwidth()
          x-size.
 int getx()
          x-position of upper-left corner.
 int gety()
          y-position of upper-left corner.
 boolean hasdatatable()
          true if chart contains data table.
 void hasdatatable(boolean value)
          true if chart contains data table.
 boolean ishmode()
          false value specifies that the height shall be interpreted as the bottom of the chart element..
 void ishmode(boolean value)
          false value specifies that the height shall be interpreted as the bottom of the chart element..
 boolean isverticallegend()
          indicates whether if vertical legend.
 void isverticallegend(boolean value)
          indicates whether if vertical legend.
 boolean iswmode()
          false value specifies that the width shall be interpreted as the right of the chart element..
 void iswmode(boolean value)
          false value specifies that the width shall be interpreted as the right of the chart element..
 boolean isxmode()
          true value specifies that the x shall be interpreted as the left of the chart element..
 void isxmode(boolean value)
          true value specifies that the x shall be interpreted as the left of the chart element..
 boolean isymode()
          true value specifies that the y shall be interpreted as the top of the chart element..
 void isymode(boolean value)
          true value specifies that the y shall be interpreted as the top of the chart element..
 void setautopositionx(boolean value)
          x positioning is automatic.
 void setautopositiony(boolean value)
          y positioning is automatic.
 void setheight(int value)
          y-size.
 void setincludeinlayout(boolean value)
          show legend without overlapping.
 void setinnerlayouttarget(boolean value)
           
 void setposition(legendpositiontype position)
          sets legend position type.
 void setwidth(int value)
          x-size.
 void setx(int value)
          x-position of upper-left corner.
 void sety(int value)
          y-position of upper-left corner.
 
methods inherited from class com.spire.xls.core.spreadsheet.xlsobject
dispose
 
constructor detail

xlschartlegend

public xlschartlegend(java.lang.object parent)
method detail

getautoposition

public boolean getautoposition()
automatic positioning .

gettextarea

public icharttextarea gettextarea()
return text area of legend.
specified by:
gettextarea in interface ichartlegend

getx

public int getx()
x-position of upper-left corner. 1/4000 of chart plot. isxmode shall set to true
specified by:
getx in interface ichartlegend

setx

public void setx(int value)
x-position of upper-left corner. 1/4000 of chart plot. isxmode shall set to true
specified by:
setx in interface ichartlegend

gety

public int gety()
y-position of upper-left corner. 1/4000 of chart plot. isymode shall set to true
specified by:
gety in interface ichartlegend

sety

public void sety(int value)
y-position of upper-left corner. 1/4000 of chart plot. isymode shall set to true
specified by:
sety in interface ichartlegend

getposition

public legendpositiontype getposition()
legend position type.
specified by:
getposition in interface ichartlegend

setposition

public void setposition(legendpositiontype position)
sets legend position type.
specified by:
setposition in interface ichartlegend

isverticallegend

public boolean isverticallegend()
indicates whether if vertical legend.
specified by:
isverticallegend in interface ichartlegend

isverticallegend

public void isverticallegend(boolean value)
indicates whether if vertical legend.
specified by:
isverticallegend in interface ichartlegend

getincludeinlayout

public boolean getincludeinlayout()
show legend without overlapping. default is true.
specified by:
getincludeinlayout in interface ichartlegend

setincludeinlayout

public void setincludeinlayout(boolean value)
show legend without overlapping. default is true.
specified by:
setincludeinlayout in interface ichartlegend

getinnerlayouttarget

public boolean getinnerlayouttarget()
specified by:
getinnerlayouttarget in interface ichartlegend

setinnerlayouttarget

public void setinnerlayouttarget(boolean value)
specified by:
setinnerlayouttarget in interface ichartlegend

iswmode

public boolean iswmode()
false value specifies that the width shall be interpreted as the right of the chart element..
specified by:
iswmode in interface ichartlegend

iswmode

public void iswmode(boolean value)
false value specifies that the width shall be interpreted as the right of the chart element..
specified by:
iswmode in interface ichartlegend

ishmode

public boolean ishmode()
false value specifies that the height shall be interpreted as the bottom of the chart element..
specified by:
ishmode in interface ichartlegend

ishmode

public void ishmode(boolean value)
false value specifies that the height shall be interpreted as the bottom of the chart element..
specified by:
ishmode in interface ichartlegend

isxmode

public boolean isxmode()
true value specifies that the x shall be interpreted as the left of the chart element..
specified by:
isxmode in interface ichartlegend

isxmode

public void isxmode(boolean value)
true value specifies that the x shall be interpreted as the left of the chart element..
specified by:
isxmode in interface ichartlegend

isymode

public boolean isymode()
true value specifies that the y shall be interpreted as the top of the chart element..
specified by:
isymode in interface ichartlegend

isymode

public void isymode(boolean value)
true value specifies that the y shall be interpreted as the top of the chart element..
specified by:
isymode in interface ichartlegend

getlegendentries

public ichartlegendentries getlegendentries()
represents legend entries collection. read only.
specified by:
getlegendentries in interface ichartlegend

getwidth

public int getwidth()
x-size. 1/4000 of chart plot. iswmode shall set to true
specified by:
getwidth in interface ichartlegend

setwidth

public void setwidth(int value)
x-size. 1/4000 of chart plot. iswmode shall set to true
specified by:
setwidth in interface ichartlegend

getheight

public int getheight()
y-size. 1/4000 of chart plot. ishmode shall set to true
specified by:
getheight in interface ichartlegend

setheight

public void setheight(int value)
y-size. 1/4000 of chart plot. ishmode shall set to true
specified by:
setheight in interface ichartlegend

getautopositionx

public boolean getautopositionx()
x positioning is automatic.
specified by:
getautopositionx in interface ichartlegend

setautopositionx

public void setautopositionx(boolean value)
x positioning is automatic.
specified by:
setautopositionx in interface ichartlegend

getautopositiony

public boolean getautopositiony()
y positioning is automatic.
specified by:
getautopositiony in interface ichartlegend

setautopositiony

public void setautopositiony(boolean value)
y positioning is automatic.
specified by:
setautopositiony in interface ichartlegend

getframeformat

public ichartframeformat getframeformat()

hasdatatable

public boolean hasdatatable()
true if chart contains data table.

hasdatatable

public void hasdatatable(boolean value)
true if chart contains data table.

clear

public void clear()
clears chart legend.
specified by:
clear in interface ichartlegend

delete

public void delete()
deletes chart legend.
specified by:
delete in interface ichartlegend

deepclone

public xlschartlegend deepclone(java.lang.object parent,
                                java.util.hashmap dicfontindexes,
                                java.util.hashmap dicnewsheetnames)
clones current object.
parameters:
parent - parent object.
dicfontindexes - array with new font indexes.
returns:
returns cloned object.


网站地图