MoMeak
7 years ago
1 changed files with 45 additions and 1 deletions
@ -1 +1,45 @@ |
|||||||
package com.fr.design.constants;
/**
* Created by IntelliJ IDEA.
* Author : Richer
* Version: 7.0.3
* Date: 12-12-27
* Time: 下午2:28
* 所有的间隙常数都从这里取,注意写上PMD检测规则来检查
*/
public class LayoutConstants {
private LayoutConstants() {
}
/**
* 水平间隙
*/
public static final int HGAP_SMALL = 1;
/**
* 水平间隙
*/
public static final int HGAP_LARGE = 4;
/**
* 垂直间隙
*/
public static final int VGAP_SMALL = 4;
/**
* 垂直间隙
*/
public static final int VGAP_MEDIUM = 6;
/**
* 垂直间隙
*/
public static final int VGAP_LARGE = 10;
/**
* 垂直间隙
*/
public static final int VGAP_HUGER = 20;
/**
* 图表属性表中二级菜单距离右边框的距离
*/
public static final int CHART_ATTR_TOMARGIN = 46;
} |
package com.fr.design.constants; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by IntelliJ IDEA. |
||||||
|
* Author : Richer |
||||||
|
* Version: 7.0.3 |
||||||
|
* Date: 12-12-27 |
||||||
|
* Time: 下午2:28 |
||||||
|
* 所有的间隙常数都从这里取,注意写上PMD检测规则来检查 |
||||||
|
*/ |
||||||
|
public class LayoutConstants { |
||||||
|
private LayoutConstants() { |
||||||
|
|
||||||
|
} |
||||||
|
|
||||||
|
/** |
||||||
|
* 水平间隙 |
||||||
|
*/ |
||||||
|
public static final int HGAP_SMALL = 1; |
||||||
|
/** |
||||||
|
* 水平间隙 |
||||||
|
*/ |
||||||
|
public static final int HGAP_LARGE = 4; |
||||||
|
/** |
||||||
|
* 垂直间隙 |
||||||
|
*/ |
||||||
|
public static final int VGAP_SMALL = 4; |
||||||
|
/** |
||||||
|
* 垂直间隙 |
||||||
|
*/ |
||||||
|
public static final int VGAP_MEDIUM = 6; |
||||||
|
/** |
||||||
|
* 垂直间隙 |
||||||
|
*/ |
||||||
|
public static final int VGAP_LARGE = 10; |
||||||
|
/** |
||||||
|
* 垂直间隙 |
||||||
|
*/ |
||||||
|
public static final int VGAP_HUGER = 20; |
||||||
|
|
||||||
|
/** |
||||||
|
* 图表属性表中二级菜单距离右边框的距离 |
||||||
|
*/ |
||||||
|
public static final int CHART_ATTR_TOMARGIN = 46; |
||||||
|
} |
Loading…
Reference in new issue