setproperty.java

来自「精通从JavaScript到Jsp范例程序设计」· Java 代码 · 共 34 行

JAVA
34
字号
public class SetProperty{
 	
 	private String backgroundColor="";
	private String textColor="";
	private int size=1;
	
 	public SetProperty(){
	}
	
	public void setBackgroundColor( String backgroundColor ){
		this.backgroundColor = backgroundColor;
	}
	
	public String getBackgroundColor(){
		return this.backgroundColor;
	}
	
	public void setTextColor( String textColor ){
		this.textColor = textColor;
	}
	
	public String getTextColor(){
		return this.textColor;
	}	
 	
 	public void setSize( int size ){
		this.size = size;
	}
	
	public int getSize(){
		return this.size;
	}
	
 }

⌨️ 快捷键说明

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