CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 WEB源码 JSP源码/Java

文件名称:chapter8

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2015-12-21
  • 文件大小:
    13.01kb
  • 已下载:
    6次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

1. 在实验四 2.a与2.b所定义的P类(点的抽象)和颜色类Color类的基础上,定义像素类。



a. 声明P类表示一个点的x轴和y轴坐标,声明构造方法和拷贝构造方法,

声明若干get()和set()方法获得或设置坐标,声明move()方法将当前坐标

移动若干位置。



b. 声明颜色类Color

一种颜色由(红,绿,蓝)三元色值组成,称为RGB值。 一个int整数(四个

字节)可表示一种颜色,结构为:最高字节全1,其后3字节分别存储“红、

绿、蓝”单色值,单色值范围是0 ~ 255。例如,0xff00ff00表示绿色,RGB值

为(0,255,0)。声明构造方法和拷贝构造方法,声明多个get()和set()方法获得

或设置该颜色的RGB值。



c. 声明像素类Pixel继承Point类,像素是一个带颜色的坐标点。

-1. On the basis of experiments with four 2.a 2.b defined P class (point of abstraction) and color class Color class, the definition of a pixel class.



                    a. Statement P class represents a point of x-axis and y-axis coordinates, declare constructor and copy constructor,

                          Statement number of get () and set () method to get or set the coordinates, declare move () method of the current coordinates

                          Moving several locations.



                    b. declare color category Color

                          A color the (red, green, blue) values of three primary colors, known as the RGB value. An int integer (four

                       
(系统自动生成,下载前可以参看下载内容)

下载文件列表

chapter8/例子1/Example8_1.java
chapter8/例子1
chapter8/例子10/Example8_10.java
chapter8/例子10
chapter8/例子11/Example8_11.java
chapter8/例子11
chapter8/例子12/Example8_12.java
chapter8/例子12
chapter8/例子13/Example8_13.java
chapter8/例子13
chapter8/例子14/Example8_14.java
chapter8/例子14
chapter8/例子15/Example8_15.java
chapter8/例子15
chapter8/例子16/CalendarBean.java
chapter8/例子16/Example8_16.java
chapter8/例子16
chapter8/例子17/Example8_17.java
chapter8/例子17
chapter8/例子18/Example8_18.java
chapter8/例子18
chapter8/例子19/Example8_19.java
chapter8/例子19
chapter8/例子2/Example8_2.java
chapter8/例子2/SortString.java
chapter8/例子2
chapter8/例子20/Example8_20.java
chapter8/例子20
chapter8/例子21/Example8_21.java
chapter8/例子21
chapter8/例子22/Example8_22.java
chapter8/例子22
chapter8/例子23/Example8_23.java
chapter8/例子23
chapter8/例子24/Example8_24.java
chapter8/例子24
chapter8/例子3/Example8_3.java
chapter8/例子3
chapter8/例子4/Example8_4.java
chapter8/例子4
chapter8/例子5/Example8_5.java
chapter8/例子5/TV.java
chapter8/例子5
chapter8/例子6/Example8_6.java
chapter8/例子6
chapter8/例子7/Example8_7.java
chapter8/例子7
chapter8/例子8/EncryptAndDecrypt.java
chapter8/例子8/Example8_8.java
chapter8/例子8
chapter8/例子9/Example8_9.java
chapter8/例子9
chapter8

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com