Class TableLayout.Entry
- java.lang.Object
-
- com.inductiveautomation.ignition.client.util.gui.tablelayout.TableLayout.Entry
-
- All Implemented Interfaces:
java.lang.Cloneable
- Enclosing class:
- TableLayout
public static class TableLayout.Entry extends java.lang.Object implements java.lang.Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description int[]
alignment
Horizontal and vertical alignmentjava.awt.Component
component
Component bound by the constraintsint[]
cr1
Cell in which the upper-left corner of the component liesint[]
cr2
Cell in which the lower-right corner of the component lies
-
Constructor Summary
Constructors Constructor Description Entry(java.awt.Component component, TableLayoutConstraints constraint)
Constructs an Entry that binds a component to a set of constraints.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
copy()
Copies this Entry.java.lang.String
toString()
Gets the string representation of this Entry.
-
-
-
Field Detail
-
component
public java.awt.Component component
Component bound by the constraints
-
cr1
public int[] cr1
Cell in which the upper-left corner of the component lies
-
cr2
public int[] cr2
Cell in which the lower-right corner of the component lies
-
alignment
public int[] alignment
Horizontal and vertical alignment
-
-
Constructor Detail
-
Entry
public Entry(java.awt.Component component, TableLayoutConstraints constraint)
Constructs an Entry that binds a component to a set of constraints.- Parameters:
component
- component being boundconstraint
- constraints being applied
-
-
Method Detail
-
copy
public java.lang.Object copy() throws java.lang.CloneNotSupportedException
Copies this Entry.- Throws:
java.lang.CloneNotSupportedException
-
toString
public java.lang.String toString()
Gets the string representation of this Entry.- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string in the form "(col1, row1, col2, row2, vAlign, hAlign) component"
-
-