public class FloatElement extends java.lang.Object implements Elem, XMLReadable, java.lang.Cloneable, java.io.Serializable
构造器和说明 |
---|
FloatElement() |
FloatElement(java.lang.Object value) |
FloatElement(UNIT leftDistance,
UNIT topDistance,
UNIT width,
UNIT height,
java.lang.Object value)
初始化悬浮元素
|
限定符和类型 | 方法和说明 |
---|---|
void |
changeAuthorityState(java.lang.String selectedRole,
boolean isVisible)
判断对应的角色的元素的可见状态,是否做过权限编辑,若是做过权限编辑,则加入都已经做过权限编辑的角色列表中
|
void |
changeNewValueAuthorityState(java.lang.String selectedRole,
boolean isChooseNewValue,
java.lang.Object newValue)
改变元素新值权限编辑的状态
|
void |
cleanAuthority(java.lang.String selectedRole)
恢复到默认的额权限编辑
|
java.lang.Object |
clone()
Clone.
|
FloatElement |
deriveFloatElement(UNIT leftDistance,
UNIT topDistance,
UNIT width,
UNIT height)
导出悬浮元素
|
boolean |
equals(java.lang.Object obj) |
FloatPrivilegeControl |
getFloatPrivilegeControl() |
FU |
getHeight() |
FU |
getLeftDistance_inClippedPage() |
FU |
getLeftDistance() |
java.lang.String |
getName() |
NameJavaScriptGroup |
getNameHyperlinkGroup()
Get NameHyperlinkGroup.
|
Style |
getStyle()
Gets style.
|
FU |
getTopDistance_inClippedPage() |
FU |
getTopDistance() |
java.lang.Object |
getValue()
Gets the value of the cell element.
|
FU |
getWidth() |
int |
hashCode() |
boolean |
isDoneAuthority(java.lang.String selectedRole)
判断角色是否做过全线编辑
|
boolean |
isDoneNewValueAuthority(java.lang.String selectedRole)
该角色是否做过新值的权限控制
|
void |
readXML(XMLableReader reader)
读取子节点,应该会被XMLableReader.readXMLObject()调用多次
|
void |
setFloatPrivilegeControl(FloatPrivilegeControl floatPrivilegeControl) |
void |
setHeight(FU height) |
void |
setHeight(UNIT height) |
void |
setLeftDistance_inClippedPage(FU leftDistance_inClippedPage) |
void |
setLeftDistance(FU leftDistance) |
void |
setLeftDistance(UNIT leftDistance) |
void |
setName(java.lang.String name) |
void |
setNameHyperlinkGroup(NameJavaScriptGroup nameHyperlinkGroup)
Set NameHyperlinkGroup.
|
void |
setStyle(Style style)
Sets style.
|
void |
setTopDistance_inClippedPage(FU topDistance_inClippedPage) |
void |
setTopDistance(FU topDistance) |
void |
setTopDistance(UNIT topDistance) |
void |
setValue(java.lang.Object value)
Set the value to the cell element.
|
void |
setWidth(FU width) |
void |
setWidth(UNIT width) |
Tag |
toFrozenTag(Repository repo)
转换成冻结的tag
|
JSONObject |
toJSONObject(Repository repo)
生成浏览器端需要的JSON对象
|
Tag |
toTag(Repository repo)
转换成tag
|
void |
writeXML(XMLPrintWriter writer)
Write XML.
|
public java.lang.String getName()
public void setName(java.lang.String name)
public FU getLeftDistance()
public void setLeftDistance(UNIT leftDistance)
public void setLeftDistance(FU leftDistance)
public FU getTopDistance()
public void setTopDistance(UNIT topDistance)
public void setTopDistance(FU topDistance)
public FU getLeftDistance_inClippedPage()
public void setLeftDistance_inClippedPage(FU leftDistance_inClippedPage)
public FU getTopDistance_inClippedPage()
public void setTopDistance_inClippedPage(FU topDistance_inClippedPage)
public FU getWidth()
public void setWidth(UNIT width)
public void setWidth(FU width)
public FU getHeight()
public void setHeight(UNIT height)
public void setHeight(FU height)
public java.lang.Object getValue()
Elem
getValue
在接口中 Elem
String
,
Boolean
,
Number
,
Date
,
BaseFormula
,
Report
,
Image
,
Painter
public void setValue(java.lang.Object value)
Elem
public Style getStyle()
StyleProvider
getStyle
在接口中 StyleProvider
public FloatPrivilegeControl getFloatPrivilegeControl()
public void setFloatPrivilegeControl(FloatPrivilegeControl floatPrivilegeControl)
public boolean isDoneAuthority(java.lang.String selectedRole)
isDoneAuthority
在接口中 Elem
selectedRole
- 角色public boolean isDoneNewValueAuthority(java.lang.String selectedRole)
isDoneNewValueAuthority
在接口中 Elem
selectedRole
- 选择的角色public void changeAuthorityState(java.lang.String selectedRole, boolean isVisible)
changeAuthorityState
在接口中 Elem
selectedRole
- 角色名isVisible
- 元素可见状态public void changeNewValueAuthorityState(java.lang.String selectedRole, boolean isChooseNewValue, java.lang.Object newValue)
changeNewValueAuthorityState
在接口中 Elem
selectedRole
- 角色名isChooseNewValue
- 新值复选框是否选中newValue
- 对应的新值public void cleanAuthority(java.lang.String selectedRole)
cleanAuthority
在接口中 Elem
selectedRole
- 清除角色public void setStyle(Style style)
setStyle
在接口中 StyleProvider
style
- the new style.public NameJavaScriptGroup getNameHyperlinkGroup()
getNameHyperlinkGroup
在接口中 Elem
public void setNameHyperlinkGroup(NameJavaScriptGroup nameHyperlinkGroup)
setNameHyperlinkGroup
在接口中 Elem
public JSONObject toJSONObject(Repository repo) throws JSONException
repo
- 请求.JSONException
- 抛出错误public Tag toTag(Repository repo)
repo
- 对象repopublic Tag toFrozenTag(Repository repo)
repo
- 对象repopublic void readXML(XMLableReader reader)
XMLReadable
readXML
在接口中 XMLReadable
reader
- XML读取对象XMLableReader
public void writeXML(XMLPrintWriter writer)
writer
- the PrintWriter.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
在类中 java.lang.Object
java.lang.CloneNotSupportedException
public FloatElement deriveFloatElement(UNIT leftDistance, UNIT topDistance, UNIT width, UNIT height) throws java.lang.CloneNotSupportedException
leftDistance
- 左边的距离topDistance
- 上边的距离width
- 宽height
- 高java.lang.CloneNotSupportedException
public int hashCode()
hashCode
在类中 java.lang.Object
public boolean equals(java.lang.Object obj)
equals
在类中 java.lang.Object