public abstract class AbstractGapWidget extends AbstractBorderStyleWidget
限定符和类型 | 字段和说明 |
---|---|
protected int |
compInterval |
protected int |
hgap |
protected int |
vgap |
background, borderStyle, margin
AFTEREDIT, AFTERINIT, BEFOREEDIT, CHANGE, DEFAULT_FONT_SIZE, disabled, EVENT_CLICK, EVENT_STATECHANGE, invisible, STOPEDIT, widgetName, XML_TAG
构造器和说明 |
---|
AbstractGapWidget() |
限定符和类型 | 方法和说明 |
---|---|
JSONObject |
createJSONConfig(Repository repo,
Calculator c,
NodeVisitor toFindChart)
以JSONObject方式返回Widget的配置信息
|
int |
getCompInterval()
返回组件的间隔
|
int |
getHgap() |
int |
getVgap() |
abstract java.lang.String |
getXType()
控件xType,每个控件的特有标记和控件一一对应
|
abstract boolean |
isEditor()
是否是一个不需要在填报状态直接显示的编辑器
|
void |
readXML(XMLableReader reader)
Read XML.
|
void |
setCompInterval(int value)
设置组件的间隔
|
void |
setHgap(int hgap) |
void |
setVgap(int vgap) |
abstract java.lang.String[] |
supportedEvents()
支持事件
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
addWidgetAttrMark, canCurrentMarginAvailable, clearMargin, clone, getBackground, getBorderStyle, getMargin, getWidgetAttrMark, readExtra, setBackground, setBorderStyle, setBorderStyleNoBackground, setMargin
acceptType, changeOnlyVisibleAuthorityState, changeUsableAuthorityState, changeVisibleAuthorityState, cleanAuthority, dealInvisible, dealWithPresentableValue, equals, 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, supportMobile, toImage, toImage, toString, updateChildBounds, value2Config
addListener, clearListeners, createJSONListener, createListeners, dealWithListener4Compatible, getConvertMap, getListener, getListenerSize
copy, getId, getNameSpace, setId, setNameSpace
getClassInfo, getData, invalidate, isLoad, setClassInfo, setData
public abstract java.lang.String getXType()
Widget
getXType
在类中 AbstractBorderStyleWidget
public abstract boolean isEditor()
isEditor
在类中 AbstractBorderStyleWidget
public abstract java.lang.String[] supportedEvents()
supportedEvents
在类中 AbstractBorderStyleWidget
public int getVgap()
public void setVgap(int vgap)
public int getHgap()
public void setHgap(int hgap)
public int getCompInterval()
public void setCompInterval(int value)
value
- 间隔public JSONObject createJSONConfig(Repository repo, Calculator c, NodeVisitor toFindChart) throws JSONException
createJSONConfig
在类中 AbstractBorderStyleWidget
repo
- 参数repoc
- 指定解析器toFindChart
- 查找JSONException
- 异常public void readXML(XMLableReader reader)
Widget
readXML
在接口中 XMLReadable
readXML
在类中 AbstractBorderStyleWidget
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
Widget
writeXML
在接口中 XMLWriter
writeXML
在类中 AbstractBorderStyleWidget
writer
- the PrintWriter.