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[]alignmentHorizontal and vertical alignmentjava.awt.ComponentcomponentComponent bound by the constraintsint[]cr1Cell in which the upper-left corner of the component liesint[]cr2Cell 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.Objectcopy()Copies this Entry.java.lang.StringtoString()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.CloneNotSupportedExceptionCopies this Entry.- Throws:
java.lang.CloneNotSupportedException
-
toString
public java.lang.String toString()
Gets the string representation of this Entry.- Overrides:
toStringin classjava.lang.Object- Returns:
- a string in the form "(col1, row1, col2, row2, vAlign, hAlign) component"
-
-