org.openbp.swing.layout.splitter
Class SplitterConstraint

java.lang.Object
  extended by org.openbp.swing.layout.splitter.SplitterConstraint

public class SplitterConstraint
extends java.lang.Object

A SplitterConstraint is a set of component layout constraints used by the SplitterLayout layout manager.


Constructor Summary
SplitterConstraint()
          Default constructor.
 
Method Summary
 boolean isAnyFiller()
          Checks if the component is a regular or makeshift filler component.
 boolean isFiller()
          Checks if the component is a filler component.
 boolean isMakeshiftFiller()
          Checks if the component is a makeshift filler component.
 void setFiller(boolean filler)
          Sets the filler component property.
 void setMakeshiftFiller(boolean makeshiftFiller)
          Sets the makeshift filler component property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SplitterConstraint

public SplitterConstraint()
Default constructor.

Method Detail

isAnyFiller

public boolean isAnyFiller()
Checks if the component is a regular or makeshift filler component.

Returns:
true The component fills up any remaining space of the target.
false The component will try to keep its size in the layout.

isFiller

public boolean isFiller()
Checks if the component is a filler component.

Returns:
true The component fills up any remaining space of the target.
false The component will try to keep its size in the layout.

setFiller

public void setFiller(boolean filler)
Sets the filler component property.

Parameters:
filler - true The component fills up any remaining space of the target.
false The component will try to keep its size in the layout.

isMakeshiftFiller

public boolean isMakeshiftFiller()
Checks if the component is a makeshift filler component.

Returns:
true The component fills up any remaining space of the target as long as there is no true filler.
false The component will try to keep its size in the layout.

setMakeshiftFiller

public void setMakeshiftFiller(boolean makeshiftFiller)
Sets the makeshift filler component property.

Parameters:
makeshiftFiller - true The component fills up any remaining space of the target as long as there is no true filler.
false The component will try to keep its size in the layout.


Copyright © 2011. All Rights Reserved.