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

📄 areatools.java

📁 A part public bus simulation system, mainly about map design, java file, groupwork, helpful to the b
💻 JAVA
字号:
package tools;
import java.awt.Point;public class AreaTools extends Tools {			Point b = new Point();        String name = new String();                		public AreaTools(Point x, Point y){            	super(x);         	b = y;    		}	      	public Point getLocation1(){            return a;        }                public Point getLocation2(){            return b;        }                public void setLocation(Point loc1, Point loc2){            a = loc1;            b = loc2;        }                 public void setName(String l){          	name = l;        }                public String getName(){        	return name;        }                //GetID and SetID methods are inherited}

⌨️ 快捷键说明

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