Package com.gargoylesoftware.base.gui
Class TableLayout.Header
java.lang.Object
com.gargoylesoftware.base.gui.TableLayout.Header
- All Implemented Interfaces:
Serializable
- Enclosing class:
TableLayout
A convenience class to hold information specific to a row or column.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate booleanprivate booleanprivate intprivate intprivate intprivate static final longprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal intGets the actual attribute of the Header objectfinal booleanGets the hasComponents attribute of the Header objectfinal intgetMax()Gets the max attribute of the Header objectfinal intgetMin()Gets the min attribute of the Header objectfinal intGets the preferred attribute of the Header objectfinal intgetStart()Gets the start attribute of the Header objectfinal booleanGets the expandable attribute of the Header objectfinal voidsetActual(int actual) Sets the actual attribute of the Header objectfinal voidsetExpandable(boolean expandable) Sets the expandable attribute of the Header objectfinal voidsetHasComponents(boolean hasComponents) Sets the hasComponents attribute of the Header objectfinal voidsetMax(int max) Sets the max attribute of the Header objectfinal voidsetMin(int min) Sets the min attribute of the Header objectfinal voidsetPreferred(int preferred) Sets the preferred attribute of the Header objectfinal voidsetStart(int start) Sets the start attribute of the Header objecttoString()Description of the Method
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
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_
-
-
Constructor Details
-
Header
private Header()
-
-
Method Details
-
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
Description of the Method
-