123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- package com.sysmodel.listmodel.xmlmodel.impl;
- import com.sysmodel.listmodel.xmlmodel.able.ActionButton;
- public class ActionButtonImpl implements ActionButton, Cloneable{
- /*
- * 该按钮唯一值
- */
- private String buttonName = "";
- /*
- * 按钮类型
- */
- private String buttonType = "";
- /*
- * value 按钮图片来源或是文字,根据buttonType 按钮类型来判断
- */
- private String value = "";
- /*
- * 链接路径
- */
- private String url = "";
- /*
- * 进入新页的方式(_self/_blank/other)如果target是dialog,会产生网页对话框
- */
- private String target = "";
- /*
- * 按钮宽度
- */
- private String formWith = "";
- /*
- * 按钮高度
- */
- private String formHeight = "";
- public String getButtonName() {
- return buttonName;
- }
- public void setButtonName(String buttonName) {
- this.buttonName = buttonName;
- }
- public String getButtonType() {
- return buttonType;
- }
- public void setButtonType(String buttonType) {
- this.buttonType = buttonType;
- }
- public String getFormHeight() {
- return formHeight;
- }
- public void setFormHeight(String formHeight) {
- this.formHeight = formHeight;
- }
- public String getFormWith() {
- return formWith;
- }
- public void setFormWith(String formWith) {
- this.formWith = formWith;
- }
- public String getTarget() {
- return target;
- }
- public void setTarget(String target) {
- this.target = target;
- }
- public String getUrl() {
- return url;
- }
- public void setUrl(String url) {
- this.url = url;
- }
- public String getValue() {
- return value;
- }
- public void setValue(String value) {
- this.value = value;
- }
- public Object clone() {
- ActionButtonImpl o = null;
- try {
- o = (ActionButtonImpl) super.clone();
- } catch (CloneNotSupportedException e) {
- e.printStackTrace();
- }
- return o;
- }
- }
|