Package com.gargoylesoftware.base.gui
Class TableLayout.Header
- java.lang.Object
-
- com.gargoylesoftware.base.gui.TableLayout.Header
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- TableLayout
private class TableLayout.Header extends java.lang.Object implements java.io.Serializable
A convenience class to hold information specific to a row or column.
-
-
Field Summary
Fields Modifier and Type Field Description private int
actual_
private boolean
hasComponents_
private boolean
isExpandable_
private int
max_
private int
min_
private int
preferred_
private static long
serialVersionUID
private int
start_
-
Constructor Summary
Constructors Modifier Constructor Description private
Header()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getActual()
Gets the actual attribute of the Header objectboolean
getHasComponents()
Gets the hasComponents attribute of the Header objectint
getMax()
Gets the max attribute of the Header objectint
getMin()
Gets the min attribute of the Header objectint
getPreferred()
Gets the preferred attribute of the Header objectint
getStart()
Gets the start attribute of the Header objectboolean
isExpandable()
Gets the expandable attribute of the Header objectvoid
setActual(int actual)
Sets the actual attribute of the Header objectvoid
setExpandable(boolean expandable)
Sets the expandable attribute of the Header objectvoid
setHasComponents(boolean hasComponents)
Sets the hasComponents attribute of the Header objectvoid
setMax(int max)
Sets the max attribute of the Header objectvoid
setMin(int min)
Sets the min attribute of the Header objectvoid
setPreferred(int preferred)
Sets the preferred attribute of the Header objectvoid
setStart(int start)
Sets the start attribute of the Header objectjava.lang.String
toString()
Description of the Method
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
min_
private int min_
-
max_
private int max_
-
preferred_
private int preferred_
-
actual_
private int actual_
-
start_
private int start_
-
hasComponents_
private boolean hasComponents_
-
isExpandable_
private boolean isExpandable_
-
-
Method Detail
-
setActual
public final void setActual(int actual)
Sets the actual attribute of the Header object- Parameters:
actual
- The new actual value
-
setPreferred
public final void setPreferred(int preferred)
Sets the preferred attribute of the Header object- Parameters:
preferred
- The new preferred value
-
setMin
public final void setMin(int min)
Sets the min attribute of the Header object- Parameters:
min
- The new min value
-
setMax
public final void setMax(int max)
Sets the max attribute of the Header object- Parameters:
max
- The new max value
-
setStart
public final void setStart(int start)
Sets the start attribute of the Header object- Parameters:
start
- The new start value
-
setHasComponents
public final void setHasComponents(boolean hasComponents)
Sets the hasComponents attribute of the Header object- Parameters:
hasComponents
- The new hasComponents value
-
setExpandable
public final void setExpandable(boolean expandable)
Sets the expandable attribute of the Header object- Parameters:
expandable
- The new expandable value
-
getActual
public final int getActual()
Gets the actual attribute of the Header object- Returns:
- The actual value
-
getPreferred
public final int getPreferred()
Gets the preferred attribute of the Header object- Returns:
- The preferred value
-
getMin
public final int getMin()
Gets the min attribute of the Header object- Returns:
- The min value
-
getMax
public final int getMax()
Gets the max attribute of the Header object- Returns:
- The max value
-
getStart
public final int getStart()
Gets the start attribute of the Header object- Returns:
- The start value
-
getHasComponents
public final boolean getHasComponents()
Gets the hasComponents attribute of the Header object- Returns:
- The hasComponents value
-
isExpandable
public final boolean isExpandable()
Gets the expandable attribute of the Header object- Returns:
- The expandable value
-
toString
public java.lang.String toString()
Description of the Method- Overrides:
toString
in classjava.lang.Object
- Returns:
- Description of the Returned Value
-
-