TableBuilder
public class TableHeader
extends java.lang.Object
Table
.TableRenderer
Constructor and Description |
---|
TableHeader(java.lang.String name)
Deprecated.
Constructor that initializes the table header with the provided header
name.
|
TableHeader(java.lang.String name,
int width)
Deprecated.
Constructor that initializes the table header with the provided header
name and the with of the table header.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Deprecated.
|
int |
getMaxWidth()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
|
int |
getWidth()
Deprecated.
|
int |
hashCode()
Deprecated.
|
void |
setMaxWidth(int maxWidth)
Deprecated.
Defaults to -1 indicating to ignore the property.
|
void |
setName(java.lang.String name)
Deprecated.
|
void |
setWidth(int width)
Deprecated.
|
void |
updateWidth(int width)
Deprecated.
Updated the width for this particular column, but only if the value of
the passed-in width is higher than the value of the pre-existing width.
|
public TableHeader(java.lang.String name, int width)
name
- width
- public TableHeader(java.lang.String name)
name
- public int getWidth()
public void setWidth(int width)
public void updateWidth(int width)
width
- public java.lang.String getName()
public void setName(java.lang.String name)
public int getMaxWidth()
public void setMaxWidth(int maxWidth)
maxWidth
- If negative or zero this property will be ignored.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object