Package com.iizix.term.prop
Class HostFieldColumnCell
java.lang.Object
com.iizix.term.prop.HostFieldColumnCell
Contains the result of a cell in a host field column, typically used for list boxes and business graphics.
- Author:
- Christopher Mindus
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanThe hidden attribute of the host field.booleanThe protected attribute of the host field.intThe length of the editable field.The text contents (including hidden characters) of the cell.intThe VIO color of the host field.Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionCreates a VSCellData from this instance.booleanChecks for two equal HostFieldColumnCell's.booleanChecks if there are any differences between the current HostFieldColumnCell and an old HostFieldColumnCell.static booleanhasChanged(HostFieldColumnCell[] cells1, HostFieldColumnCell[] cells2) Checks if the contents in the HostFieldColumnCell's has changed.inthashCode()Returns the hash code.
Field Details
vioColor
public int vioColorThe VIO color of the host field.length
public int lengthThe length of the editable field.isHidden
public boolean isHiddenThe hidden attribute of the host field.isProtected
public boolean isProtectedThe protected attribute of the host field.text
The text contents (including hidden characters) of the cell.
Constructor Details
HostFieldColumnCell
public HostFieldColumnCell()
Method Details
equals
Checks for two equal HostFieldColumnCell's.hashCode
public int hashCode()Returns the hash code.hasChanged
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
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
Creates a VSCellData from this instance.- Returns:
- A new celldata instance for VS.