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.SerializableA convenience class to hold information specific to a row or column.
-
-
Field Summary
Fields Modifier and Type Field Description private intactual_private booleanhasComponents_private booleanisExpandable_private intmax_private intmin_private intpreferred_private static longserialVersionUIDprivate intstart_
-
Constructor Summary
Constructors Modifier Constructor Description privateHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetActual()Gets the actual attribute of the Header objectbooleangetHasComponents()Gets the hasComponents attribute of the Header objectintgetMax()Gets the max attribute of the Header objectintgetMin()Gets the min attribute of the Header objectintgetPreferred()Gets the preferred attribute of the Header objectintgetStart()Gets the start attribute of the Header objectbooleanisExpandable()Gets the expandable attribute of the Header objectvoidsetActual(int actual)Sets the actual attribute of the Header objectvoidsetExpandable(boolean expandable)Sets the expandable attribute of the Header objectvoidsetHasComponents(boolean hasComponents)Sets the hasComponents attribute of the Header objectvoidsetMax(int max)Sets the max attribute of the Header objectvoidsetMin(int min)Sets the min attribute of the Header objectvoidsetPreferred(int preferred)Sets the preferred attribute of the Header objectvoidsetStart(int start)Sets the start attribute of the Header objectjava.lang.StringtoString()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:
toStringin classjava.lang.Object- Returns:
- Description of the Returned Value
-
-