资源简介
使用swing编程实现的基于三层架构的超市收银系统(swing插件jigloo_462),供初学者参考,内带数据库文件和sql2005驱动,导入到eclipse中即可运行

代码片段和文件信息
/*
*/
package com.cloudgarden.layout;
/**
* Used by both AnchorLayout (SWT) and AnchorLayoutManager (Swing)
*/
public class AnchorConstraint {
/**
* Meaning: This side is not anchored.
*/
public static final int ANCHOR_NONE = 0;
/**
* (Relative anchor) Meaning: This side is anchored so that it always
* occurs a fixed fraction of
* the distance along it‘s parent‘s side. The position is calculated by
* the formula “ position = (parent side)*(value)/1000 “ so for
* instance if top=100 and topType == ANCHOR_REL then the
* value of y for this side would be (parent height)*top/1000.
*/
public static final int ANCHOR_REL = 1;
/**
* (Absolute anchor) Meaning: This side is anchored a fixed distance
* in pixels (given by the value for this side) from it‘s parent‘s respective side.
* For instance if bottomType == ANCHOR_ABS and bottom = 100 then the
* bottom side of this component will remain fixed 100 pixels from
* the bottom side of it‘s parent container.
*/
public static final int ANCHOR_ABS = 2;
public int top;
public int bottom;
public int left;
public int right;
public int topType;
public int bottomType;
public int rightType;
public int leftType;
public AnchorConstraint() {
this(0 0 0 0 ANCHOR_NONE ANCHOR_NONE ANCHOR_NONE ANCHOR_NONE);
}
/**
* Creates an AnchorConstraint.
* @param top - value (relative or absolute) for top side
* @param right - like ‘top‘ but for right side
* @param bottom - like ‘top‘ but for bottom side
* @param left - like ‘top‘ but for left side
* @param topType - either ANCHOR_ABS ANCHOR_REL or ANCHOR_NONE
* to indicate whether the ‘top‘ parameter is an absolute value (in pixels) or
* a fractional value (in 1/1000 ths) of the height of this component‘s parent
* denoting where the anchor will be applied (if at all).
* @param rightType - like ‘topType‘ but for right side
* @param bottomType - like ‘topType‘ but for bottom side
* @param leftType - like ‘topType‘ but for left side
*/
public AnchorConstraint(
int top
int right
int bottom
int left
int topType
int rightType
int bottomType
int leftType) {
this.top = top;
this.bottom = bottom;
this.left = left;
this.right = right;
this.topType = topType;
this.rightType = rightType;
this.bottomType = bottomType;
this.leftType = leftType;
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 286 2010-10-13 17:21 SaleShopManager\.classpath
文件 391 2010-10-13 17:10 SaleShopManager\.project
文件 920 2010-10-27 08:22 SaleShopManager\bin\com\cloudgarden\layout\AnchorConstraint.class
文件 5021 2010-10-27 08:22 SaleShopManager\bin\com\cloudgarden\layout\AnchorLayout.class
文件 92614 2009-09-03 10:10 SaleShopManager\bin\com\image\about.png
文件 4872 2009-09-03 10:10 SaleShopManager\bin\com\image\aboutIcon.png
文件 81806 2009-09-03 10:10 SaleShopManager\bin\com\image\aboutversion.PNG
文件 305382 2009-09-03 10:10 SaleShopManager\bin\com\image\background.PNG
文件 4135 2009-09-03 10:10 SaleShopManager\bin\com\image\CzyGL.png
文件 5086 2009-09-03 10:10 SaleShopManager\bin\com\image\exitIcon.png
文件 3321 2009-09-03 10:10 SaleShopManager\bin\com\image\fr
文件 4447 2009-09-03 10:10 SaleShopManager\bin\com\image\GengGaiMiMa.png
文件 5420 2009-09-03 10:10 SaleShopManager\bin\com\image\GongYingShangChaXun.png
文件 5287 2009-09-03 10:10 SaleShopManager\bin\com\image\GysGuanLi.png
文件 4414 2009-09-03 10:10 SaleShopManager\bin\com\image\JiaGeTiaoZheng.png
文件 4198 2009-09-03 10:10 SaleShopManager\bin\com\image\JinHuoDan.png
文件 4120 2009-09-03 10:10 SaleShopManager\bin\com\image\JinHuoTuiHuo.png
文件 5064 2009-09-03 10:10 SaleShopManager\bin\com\image\KeHuChaXun.png
文件 2137 2009-09-03 10:10 SaleShopManager\bin\com\image\KeHuGuanLi.png
文件 4261 2009-09-03 10:10 SaleShopManager\bin\com\image\KuCunPanDian.png
文件 85227 2009-09-03 10:10 SaleShopManager\bin\com\image\login.png
文件 4021 2009-09-03 10:10 SaleShopManager\bin\com\image\QuanManager.png
文件 4606 2009-09-03 10:10 SaleShopManager\bin\com\image\RuKuChaXun.png
文件 4593 2009-09-03 10:10 SaleShopManager\bin\com\image\RuKuTuiHuoChaXun.png
文件 4935 2009-09-03 10:10 SaleShopManager\bin\com\image\ShangPinChaXun.png
文件 4545 2009-09-03 10:10 SaleShopManager\bin\com\image\ShangPinGuanLi.png
文件 81806 2009-09-03 10:10 SaleShopManager\bin\com\image\splash.PNG
文件 9049 2010-10-27 08:22 SaleShopManager\bin\com\image\xdot.gif
文件 4192 2009-09-03 10:10 SaleShopManager\bin\com\image\XiaoShouChaXun.png
文件 3867 2009-09-03 10:10 SaleShopManager\bin\com\image\XiaoShouDan.png
............此处省略158个文件信息
- 上一篇:Android短信备份
- 下一篇:云笔记项目---Myeclipse完整版
相关资源
- 微博系统(Java源码,servlet+jsp),适
- java串口通信全套完整代码-导入eclip
- jsonarray所必需的6个jar包.rar
- 三角网构TIN生成算法,Java语言实现
- java代码编写将excel数据导入到mysql数据
- Java写的cmm词法分析器源代码及javacc学
- JAVA JSP公司财务管理系统 源代码 论文
- JSP+MYSQL旅行社管理信息系统
- 推荐算法的JAVA实现
- 基于Java的酒店管理系统源码(毕业设
- java-图片识别 图片比较
- android毕业设计
- java23种设计模式+23个实例demo
- java Socket发送/接受报文
- JAVA828436
- java界面美化 提供多套皮肤直接使用
- 在线聊天系统(java代码)
- 基于Java的图书管理系统807185
- java中实现将页面数据导入Excel中
- java 企业销售管理系统
- java做的聊天系统(包括正规课程设计
- JSP,SQL,MVC的选课系统
- Java编写的qq聊天室
- 商店商品管理系统 JAVA写的 有界面
- JAVA开发聊天室程序
- 在linux系统下用java执行系统命令实例
- java期末考试试题两套(答案) 选择(
- JAVA3D编程示例(建模、交互)
- Java 文件加密传输
- java做的房产管理系统
评论
共有 条评论