📄 tablelayoutconstants.java
字号:
package org.rapla.components.layout;
/**
* Constants used by TableLayout.
*
* @author Daniel E. Barbalace
*/
public interface TableLayoutConstants
{
/** Indicates that the component is left justified in its cell */
public static final int LEFT = 0;
/** Indicates that the component is top justified in its cell */
public static final int TOP = 0;
/** Indicates that the component is centered in its cell */
public static final int CENTER = 1;
/** Indicates that the component is full justified in its cell */
public static final int FULL = 2;
/** Indicates that the component is bottom justified in its cell */
public static final int BOTTOM = 3;
/** Indicates that the component is right justified in its cell */
public static final int RIGHT = 3;
/** Indicates that the row/column should fill the available space */
public static final double FILL = -1.0;
/** Indicates that the row/column should be allocated just enough space to
accomidate the preferred size of all components contained completely within
this row/column. */
public static final double PREFERRED = -2.0;
/** Indicates that the row/column should be allocated just enough space to
accomidate the minimum size of all components contained completely within
this row/column. */
public static final double MINIMUM = -3.0;
/** Minimum value for an alignment */
public static final int MIN_ALIGN = 0;
/** Maximum value for an alignment */
public static final int MAX_ALIGN = 3;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -