资源简介
使用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完整版
相关资源
- 云笔记项目---Myeclipse完整版
- 自考java 04747《Java语言程序设计一》
- Java实现远程桌面连接
- java程序设计第十版梁勇著 机械工业
- Java聊天室程序源码(毕业设计) Bu
- 可视化java神经网络开发代码
- javaweb图书馆管理系统源码
- 魔乐科技:从入门到精通Java全部源码
- Java的mysql数据库驱动包mysql-connector-
- java版房产中介管理系统
- JAVA对话框实现设备管理系统
- 30个优秀简历分享
- java cs架构swing框架
- 新闻发布系统源码-BS架构-MVC分层-经典
- 考试管理系统 java
- java多线程+Socket+Swing局域网聊天软件客
- java web通讯录管理系统
- 基于JMS的WEB邮件客端系统(JAVAMAIL版)
- jsp+Servlet利用mvc模式写的一个图书馆管
- v512_张利国_JavaSE项目_源代码
- 建筑管理信息系统java+mysql毕业设计
- OAuth Server和OAuth Client(JAVA实现,ecl
- WebtestRecorder插件---Selenium Webdriver脚本
- jackson-core-2.2.1.jar
- 健身房管理系统论文 JAVA语言的
- JAVA聊天系统 功能强大可私聊、监控、
- JAVA 面试 1000题内容全覆盖2017年新版
- opencv_java.so+opencv.jar
- cmpp2 java实现及网关模拟器
- Java 游戏项目完整源码共四个项目,适
评论
共有 条评论