gui
Class TableRegion
java.lang.Object
|
+--gui.TableRegion
- public class TableRegion
- extends java.lang.Object
- implements java.util.Enumeration, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
TableRegion
public TableRegion(TableElement sTE,
TableElement eTE)
- Constructs a TableRegion from two TableElements
TableRegion
public TableRegion(TableRegion tr)
- Constructs a TableRegion from another TableRegion
hasMoreElements
public boolean hasMoreElements()
- In regions of one (i.e., 1:1) we need to iterate over the
single element, so termination is signaled by a null pointer
- Specified by:
- hasMoreElements in interface java.util.Enumeration
- See Also:
nextElement()
nextElement
public java.lang.Object nextElement()
- Iterate horizontally, then vertically through the region
- Specified by:
- nextElement in interface java.util.Enumeration
- See Also:
hasMoreElements()
getStart
public TableElement getStart()
setStart
public void setStart(TableElement sTE)
getEnd
public TableElement getEnd()
setEnd
public void setEnd(TableElement eTE)
equals
public boolean equals(TableRegion tr)
isSame
public boolean isSame(TableRegion tr)
isValid
public boolean isValid()
- Determines whether this TableRegion is valid.
isTableRegion
public static boolean isTableRegion(java.lang.String s)
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
toString
public java.lang.String toString(boolean isShort)