⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 table.java

📁 ecside jsp前途分页的标签 实现ajax 增删改查等
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public String getVar() {
        return var;
    }

    public void setVar(String var) {
        this.var = var;
    }

    public String getView() {
        return view;
    }

    public void setView(String view) {
        this.view = view;
    }

    public String getWidth() {
        return width;
    }

    public void setWidth(String width) {
        this.width = width;
    }

    public int getRowsDisplayed() {
        return rowsDisplayed;
    }

    public void setRowsDisplayed(int rowsDisplayed) {
        this.rowsDisplayed = rowsDisplayed;
    }

//    public int getMedianRowsDisplayed() {
//        return medianRowsDisplayed;
//    }
//
//    public void setMedianRowsDisplayed(int medianRowsDisplayed) {
//        this.medianRowsDisplayed = medianRowsDisplayed;
//    }
//
//    public int getMaxRowsDisplayed() {
//        return maxRowsDisplayed;
//    }
//
//    public void setMaxRowsDisplayed(int maxRowsDisplayed) {
//        this.maxRowsDisplayed = maxRowsDisplayed;
//    }


    private String toolbarLocation=null;
    private String toolbarContent=null;
    private String alwaysShowExtend=null;

	public String getToolbarContent() {
		return toolbarContent;
	}

	public void setToolbarContent(String toolbarContent) {
		this.toolbarContent = toolbarContent;
	}

	public String getToolbarLocation() {
		return toolbarLocation;
	}

	public void setToolbarLocation(String toolbarLocation) {
		this.toolbarLocation = toolbarLocation;
	}

	public String getPageSizeList() {
		return pageSizeList;
	}

	public void setPageSizeList(String pageSizeList) {
		this.pageSizeList = pageSizeList;
	}

	public int getMinColWidth() {
		return minColWidth;
	}

	public void setMinColWidth(int minColWidth) {
		this.minColWidth = minColWidth;
	}

	public Boolean getResizeColWidth() {
		return resizeColWidth;
	}

	public boolean isResizeColWidth() {
		return resizeColWidth==null?false:resizeColWidth.booleanValue();
	}
	
	public void setResizeColWidth(Boolean resizeColWidth) {
		this.resizeColWidth = resizeColWidth;
	}

	public String getAlwaysShowExtend() {
		return alwaysShowExtend;
	}

	public void setAlwaysShowExtend(String alwaysShowExtend) {
		this.alwaysShowExtend = alwaysShowExtend;
	}

	public String getExcludeParameters() {
		return excludeParameters;
	}

	public void setExcludeParameters(String excludeParameters) {
		this.excludeParameters = excludeParameters;
	}

	public String getIncludeParameters() {
		return includeParameters;
	}

	public void setIncludeParameters(String includeParameters) {
		this.includeParameters = includeParameters;
	}

//	public String getListHeight() {
//		return listHeight;
//	}
//
//	public void setListHeight(String listHeight) {
//		this.listHeight = listHeight;
//	}

	public String getListWidth() {
		return listWidth;
	}

	public void setListWidth(String listWidth) {
		this.listWidth = listWidth;
	}

	public Boolean getScrollList() {
		return scrollList;
	}

	public void setScrollList(Boolean scrollList) {
		this.scrollList = scrollList;
	}

	public String getNearPageNum() {
		return nearPageNum;
	}

	public void setNearPageNum(String nearPageNum) {
		this.nearPageNum = nearPageNum;
	}

	public String getMaxRowsExported() {
		return maxRowsExported;
	}

	public void setMaxRowsExported(String maxRowsExported) {
		this.maxRowsExported = maxRowsExported;
	}

	public boolean isEditable() {
		return editable==null||editable.booleanValue();
	}
	
	public Boolean getEditable() {
		return editable;
	}

	public void setEditable(Boolean editable) {
		this.editable = editable;
	}

	public Boolean getShowHeader() {
		return showHeader;
	}
	public boolean isShowHeader() {
		return showHeader==null||showHeader.booleanValue();
	}
	

	public void setShowHeader(Boolean showHeader) {
		this.showHeader = showHeader;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getMinWidth() {
		return minWidth;
	}

	public void setMinWidth(String minWidth) {
		this.minWidth = minWidth;
	}

	public String getEvenRowBgColor() {
		return evenRowBgColor;
	}

	public void setEvenRowBgColor(String evenRowBgColor) {
		this.evenRowBgColor = evenRowBgColor;
	}

	public String getOddRowBgColor() {
		return oddRowBgColor;
	}

	public void setOddRowBgColor(String oddRowBgColor) {
		this.oddRowBgColor = oddRowBgColor;
	}


    public void addStyle(String style) {
    	if (StringUtils.isNotBlank(getStyle()) ){
    		setStyle(getStyle()+";"+style);
    	}else{
    		setStyle(style);
    	}
    }
    public void addStyleClass(String styleClass) {
    	if (StringUtils.isNotBlank(getStyleClass()) ){
    		setStyleClass(getStyleClass()+" "+styleClass);
    	}else{
    		setStyleClass(styleClass);
    	}
    }




	public Boolean getClassic() {
		return classic;
	}

	public void setClassic(Boolean classic) {
		this.classic = classic;
	}

	
	public boolean isClassic() {
		return classic==null?false:classic.booleanValue();
	}
	
	public boolean isGenerateScript() {
		return generateScript==null?false:generateScript.booleanValue();
	}

	public void setGenerateScript(Boolean generateScript) {
		this.generateScript = generateScript;
	}

	public boolean isDoPreload() {
		return doPreload==null?false:doPreload.booleanValue();
	}

	public void setDoPreload(Boolean doPreload) {
		this.doPreload = doPreload;
	}

	public boolean isUseAjax() {
		return useAjax==null?false:useAjax.booleanValue();
	}

	public void setUseAjax(Boolean useAjax) {
		this.useAjax = useAjax;
	}

	public int getTotalWidth() {
		return totalWidth;
	}

	public void setTotalWidth(int totalWidth) {
		this.totalWidth = totalWidth;
	}
	public void addTotalWidth(int width) {
		this.totalWidth += width;
	}
	

     public void beforeBody(){
    	    classic=getClassic();
//    	    || StringUtils.isNotBlank(listWidth)
    	     if (StringUtils.isNotBlank(height)){
    	     	if ("auto".equals(height.toLowerCase())){
    	     		height="100%";
    	     	}
    	     	classic=Boolean.FALSE;
    	     }else{
//    	     	classic=Boolean.TRUE;
    	     }
     }
	public void afterBody(){

        

	        
//	        if (StringUtils.isBlank(listWidth)){
//	        	listWidth=getWidth();
//	        }
	    	
		     if (StringUtils.isBlank(listWidth)){
		    	   listWidth=""+getTotalWidth();
		     }
		       
	    	if (height!=null&&height.indexOf("px")==-1 && height.indexOf("%")==-1){
	    		height=height+"px";
	    	}
	    	if (isClassic()){
	    		resizeColWidth=Boolean.FALSE;
	    	}
	}

	public String getDeleteAction() {
		return deleteAction;
	}

	public void setDeleteAction(String deleteAction) {
		this.deleteAction = deleteAction;
	}

	public String getInsertAction() {
		return insertAction;
	}

	public void setInsertAction(String insertAction) {
		this.insertAction = insertAction;
	}

	public String getShadowRowAction() {
		return shadowRowAction;
	}

	public void setShadowRowAction(String shadowRowAction) {
		this.shadowRowAction = shadowRowAction;
	}

	public String getUpdateAction() {
		return updateAction;
	}

	public void setUpdateAction(String updateAction) {
		this.updateAction = updateAction;
	}

	public String getExcludeTool() {
		return excludeTool;
	}

	public void setExcludeTool(String excludeTool) {
		this.excludeTool = excludeTool;
	}

	public String getMinHeight() {
		return minHeight;
	}

	public void setMinHeight(String minHeight) {
		this.minHeight = minHeight;
	}

	public boolean isBatchUpdate() {
		return batchUpdate==null?false:batchUpdate.booleanValue();
	}
	
	public Boolean getBatchUpdate() {
		return batchUpdate;
	}

	public void setBatchUpdate(Boolean batchUpdate) {
		this.batchUpdate = batchUpdate;
	}

	public String getEnctype() {
		return enctype;
	}

	public void setEnctype(String enctype) {
		this.enctype = enctype;
	}
   
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -