public final class Export extends ToolBarMenuButton
menuItems
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
构造器和说明 |
---|
Export() |
限定符和类型 | 方法和说明 |
---|---|
Button[] |
createMenuItems()
返回菜单按钮下拉出来的子菜单按钮的一个数组对象
|
boolean |
equals(java.lang.Object obj)
判断当前对象是否和指定的对象相等
|
boolean |
isExcelAvailable()
返回是否显示Excel导出按钮,显示的前提是分页导出、原样导出、分页分sheet导出至少有一个是需要显示的
|
boolean |
isExcelOAvailable()
返回是否显示Excel原样导出按钮
|
boolean |
isExcelPAvailable()
返回是否显示Excel分页导出按钮
|
boolean |
isExcelSAvailable()
返回是否显示Excel分页分sheet导出按钮
|
boolean |
isHtmlAvailabel()
返回是否显示HTML导出按钮
|
boolean |
isImageAvailable()
返回是否显示图片导出按钮
|
boolean |
isPdfAvailable()
返回是否显示PDF导出按钮
|
boolean |
isWordAvailable()
返回是否显示Word导出按钮
|
void |
readXML(XMLableReader reader)
读取XML
|
void |
setExcelOAvailable(boolean excelOAvailable)
设置是否显示Excel原样导出按钮
|
void |
setExcelPAvailable(boolean excelPAvailable)
设置是否显示Excel分页导出按钮
|
void |
setExcelSAvailable(boolean excelSAvailable)
设置是否显示Excel分页分sheet导出按钮
|
void |
setHtmlAvailabel(boolean htmlAvailabel)
设置是否显示HTML导出按钮
|
void |
setImageAvailable(boolean imageAvailable)
设置是否显示图片导出按钮
|
void |
setPdfAvailable(boolean pdfAvailable)
设置是否显示PDF导出按钮
|
void |
setWordAvailable(boolean wordAvailable)
设置是否显示Word导出按钮
|
boolean |
supportMobile()
是否支持移动端
|
void |
writeExtraXML(XMLPrintWriter writer)
写入XML
|
void |
writeXML(XMLPrintWriter writer)
写入XML
|
createChildConfig, createJSONConfig, createListeners
clone, getMenuItems, getXType, itemsJO, setMenuItems
getHotkeys, getIconName, getText, isEditor, isShowIcon, isShowText, resolveText, setHotkeys, setIconName, setShowIcon, setShowText, setText, supportedEvents, value2Config
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, dealInvisible, dealWithPresentableValue, getContentHeight, getContentWidth, getDescription, getDisableAction, getEnableAction, getInvisibleAction, getLabelName, getVisibleAction, getWidgetName, getWidgetPrivilegeControl, hasDataOnInit, hashCode, isChartRelated, isDirtyWidget, isDoneUsableAuthority, isDoneVisibleAuthority, isEnabled, isUsableAuthority, isVisible, isVisibleAuthority, resize, resize, setChartRelated, setDescription, setEnabled, setLabelName, setVisible, setWidgetName, setWidgetPrivilegeControl, toImage, toImage, toString, updateChildBounds
addListener, clearListeners, createJSONListener, dealWithListener4Compatible, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public boolean isPdfAvailable()
public void setPdfAvailable(boolean pdfAvailable)
pdfAvailable
- true表示显示PDF导出按钮public boolean isWordAvailable()
public void setWordAvailable(boolean wordAvailable)
wordAvailable
- true表示显示Word导出按钮public boolean isExcelPAvailable()
public void setExcelPAvailable(boolean excelPAvailable)
excelPAvailable
- true表示显示Excel分页导出按钮public boolean isExcelOAvailable()
public void setExcelOAvailable(boolean excelOAvailable)
excelOAvailable
- true表示显示Excel原样导出按钮public boolean isExcelSAvailable()
public void setExcelSAvailable(boolean excelSAvailable)
excelSAvailable
- true表示显示Excel分页分sheet导出按钮public boolean isExcelAvailable()
public void setImageAvailable(boolean imageAvailable)
imageAvailable
- true表示显示图片导出按钮,false表示不显示public boolean isImageAvailable()
public boolean isHtmlAvailabel()
public void setHtmlAvailabel(boolean htmlAvailabel)
htmlAvailabel
- true表示显示导出按钮,否则不显示导出按钮public boolean supportMobile()
supportMobile
在类中 Widget
public Button[] createMenuItems()
createMenuItems
在类中 MenuButton
public void readXML(XMLableReader reader)
readXML
在接口中 XMLReadable
readXML
在类中 MenuButton
reader
- XML读取对象XMLableReader
public void writeExtraXML(XMLPrintWriter writer)
writer
- xml写入对象public void writeXML(XMLPrintWriter writer)
writeXML
在接口中 XMLWriter
writeXML
在类中 MenuButton
writer
- xml写入对象public boolean equals(java.lang.Object obj)
equals
在类中 ToolBarMenuButton
obj
- 指定的要比较的对象