Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1475938
  • 博文数量: 108
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 997
  • 用 户 组: 普通用户
  • 注册时间: 2013-06-29 09:58
个人简介

兴趣是坚持一件事永不衰竭的动力

文章分类

全部博文(108)

文章存档

2021年(1)

2020年(10)

2019年(19)

2018年(9)

2016年(23)

2015年(43)

2013年(3)

我的朋友

发布时间:2015-11-25 23:49:48

package com.ddChat.graphic;import java.awt.Graphics;public class XScale extends Scale{GData min ;GData max ;private final int MAJOR_TICK_LEN = 10;public XScale(Graphics g){super(g);min = new GData(1, 2);max = new GData(290, 2);}@Overridevoid setG(Graphics g){this.g = g; }.........【阅读全文】

阅读(1788) | 评论(0) | 转发(0)

发布时间:2015-11-25 23:49:10

package com.ddChat.graphic;import java.awt.Graphics;public abstract class Scale extends Painter{TickInfo tickInfo;TickProp tickProp;public Scale(Graphics g){super(g); }void draw(){if(g == null)return;if(tickInfo == null)return;if(tickProp == null)return; drawSkel();drawMajorTic.........【阅读全文】

阅读(1588) | 评论(0) | 转发(0)

发布时间:2015-11-25 23:48:29

package com.ddChat.graphic;import java.awt.Graphics;public abstract class Painter{Graphics g;public Painter(){}public Painter(Graphics g){super();this.g = g;}abstract void draw();abstract void setG(Graphics g); public Graphics getG(){return g;}}.........【阅读全文】

阅读(914) | 评论(0) | 转发(0)

发布时间:2015-11-24 23:49:30

package com.ddChat.graphic;public class TickProp{int tickCount;double tickInterval;public TickProp(){}public TickProp(int tickCount, double tickInterval){super();this.tickCount = tickCount;this.tickInterval = tickInterval;}public int getTickCount(){return tickCount;}public void.........【阅读全文】

阅读(847) | 评论(0) | 转发(0)

发布时间:2015-11-24 23:48:50

package com.ddChat.graphic;public class TickInfo{GData min, max,len;GData alignMin, alignMax,alignLen;TickProp tickProp,alignTickProp;public TickInfo(GData min, GData max){super();this.min = min;this.max = max;this.len = new GData();len.setValue(max.getValue() - min.getValue());len.........【阅读全文】

阅读(988) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册