Package com.iizix.term.prop
Class HostFieldColumnCell
- java.lang.Object
- com.iizix.term.prop.HostFieldColumnCell
 
- public class HostFieldColumnCell extends java.lang.ObjectContains the result of a cell in a host field column, typically used for list boxes and business graphics.- Author:
- Christopher Mindus
 
- Field Summary- Fields - Modifier and Type - Field - Description - boolean- isHiddenThe hidden attribute of the host field.- boolean- isProtectedThe protected attribute of the host field.- int- lengthThe length of the editable field.- java.lang.String- textThe text contents (including hidden characters) of the cell.- int- vioColorThe VIO color of the host field.
 - Constructor Summary- Constructors - Constructor - Description - HostFieldColumnCell()
 - Method Summary- All Methods Static Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - VSCellData- createVSCellData()Creates a VSCellData from this instance.- boolean- equals(java.lang.Object o)Checks for two equal HostFieldColumnCell's.- boolean- hasChanged(HostFieldColumnCell cell)Checks if there are any differences between the current HostFieldColumnCell and an old HostFieldColumnCell.- static boolean- hasChanged(HostFieldColumnCell[] cells1, HostFieldColumnCell[] cells2)Checks if the contents in the HostFieldColumnCell's has changed.- int- hashCode()Returns the hash code.
 
- Field Detail- vioColor- public int vioColor The VIO color of the host field.
 - length- public int length The length of the editable field.
 - isHidden- public boolean isHidden The hidden attribute of the host field.
 - isProtected- public boolean isProtected The protected attribute of the host field.
 - text- public java.lang.String text The text contents (including hidden characters) of the cell.
 
 - Method Detail- equals- public boolean equals(java.lang.Object o) Checks for two equal HostFieldColumnCell's.- Overrides:
- equalsin class- java.lang.Object
- Returns:
- The equality flag.
 
 - hashCode- public int hashCode() Returns the hash code.- Overrides:
- hashCodein class- java.lang.Object
- Returns:
- The hash code.
 
 - hasChanged- public boolean hasChanged(HostFieldColumnCell cell) Checks if there are any differences between the current HostFieldColumnCell and an old HostFieldColumnCell.- Parameters:
- cell- The old PhantomHostFieldColumnCell to compare to, or null for none.
- Returns:
- trueif the current content is different from old content,- falseotherwise.
 
 - hasChanged- public static boolean hasChanged(HostFieldColumnCell[] cells1, HostFieldColumnCell[] cells2) Checks if the contents in the HostFieldColumnCell's has changed.- Parameters:
- cells1- Array of cell 1 to compare.
- cells2- Array of cell 2 to compare.
- Returns:
- If arrays 1 and 2 are different.
 
 - createVSCellData- public VSCellData createVSCellData() Creates a VSCellData from this instance.- Returns:
- A new celldata instance for VS.