public static class TableLayout.Entry
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
int[] |
alignment
Horizontal and vertical alignment
|
java.awt.Component |
component
Component bound by the constraints
|
int[] |
cr1
Cell in which the upper-left corner of the component lies
|
int[] |
cr2
Cell in which the lower-right corner of the component lies
|
Constructor and Description |
---|
Entry(java.awt.Component component,
TableLayoutConstraints constraint)
Constructs an Entry that binds a component to a set of constraints.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
copy()
Copies this Entry.
|
java.lang.String |
toString()
Gets the string representation of this Entry.
|
public java.awt.Component component
public int[] cr1
public int[] cr2
public int[] alignment
public Entry(java.awt.Component component, TableLayoutConstraints constraint)
component
- component being boundconstraint
- constraints being appliedpublic java.lang.Object copy() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004-2020 FEUP-LSTS and Neptus developers. All Rights Reserved.