92 * the space between the left and right edges of a
93 * container and the current component.
94 * This should be a non negative Integer.
95 * @see getHgap()
96 * @see setHgap()
97 */
98 int hgap;
99
100 /*
101 * A cards vertical Layout gap (inset). It specifies
102 * the space between the top and bottom edges of a
103 * container and the current component.
104 * This should be a non negative Integer.
105 * @see getVgap()
106 * @see setVgap()
107 */
108 int vgap;
109
110 /**
111 * @serialField tab Hashtable
112 * deprectated, for forward compatibility only
113 * @serialField hgap int
114 * @serialField vgap int
115 * @serialField vector Vector
116 * @serialField currentCard int
117 */
118 private static final ObjectStreamField[] serialPersistentFields = {
119 new ObjectStreamField("tab", Hashtable.class),
120 new ObjectStreamField("hgap", Integer.TYPE),
121 new ObjectStreamField("vgap", Integer.TYPE),
122 new ObjectStreamField("vector", Vector.class),
123 new ObjectStreamField("currentCard", Integer.TYPE)
124 };
125
126 /**
127 * Creates a new card layout with gaps of size zero.
128 */
129 public CardLayout() {
130 this(0, 0);
131 }
132
|
92 * the space between the left and right edges of a
93 * container and the current component.
94 * This should be a non negative Integer.
95 * @see getHgap()
96 * @see setHgap()
97 */
98 int hgap;
99
100 /*
101 * A cards vertical Layout gap (inset). It specifies
102 * the space between the top and bottom edges of a
103 * container and the current component.
104 * This should be a non negative Integer.
105 * @see getVgap()
106 * @see setVgap()
107 */
108 int vgap;
109
110 /**
111 * @serialField tab Hashtable
112 * deprecated, for forward compatibility only
113 * @serialField hgap int
114 * @serialField vgap int
115 * @serialField vector Vector
116 * @serialField currentCard int
117 */
118 private static final ObjectStreamField[] serialPersistentFields = {
119 new ObjectStreamField("tab", Hashtable.class),
120 new ObjectStreamField("hgap", Integer.TYPE),
121 new ObjectStreamField("vgap", Integer.TYPE),
122 new ObjectStreamField("vector", Vector.class),
123 new ObjectStreamField("currentCard", Integer.TYPE)
124 };
125
126 /**
127 * Creates a new card layout with gaps of size zero.
128 */
129 public CardLayout() {
130 this(0, 0);
131 }
132
|