com.izforge.izpack.gui
Class IzPanelLayout.FillerComponent

java.lang.Object
  extended by java.awt.Component
      extended by com.izforge.izpack.gui.IzPanelLayout.FillerComponent
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
Enclosing class:
IzPanelLayout

public static class IzPanelLayout.FillerComponent
extends java.awt.Component

Component which will be used as placeholder if not extern component will be set or as filler for struts.

Author:
Klaus Bartz
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
private  IzPanelConstraints constraints
           
private static long serialVersionUID
           
private  java.awt.Dimension size
           
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
IzPanelLayout.FillerComponent()
          Default constructor creating an filler with the size 0|0.
IzPanelLayout.FillerComponent(java.awt.Dimension size)
          Constructor with giving the filler a size.
IzPanelLayout.FillerComponent(java.awt.Dimension size, IzPanelConstraints constraints)
          Constructor with giving the filler a size and set the constraints.
 
Method Summary
 java.awt.Rectangle getBounds()
           
 java.awt.Rectangle getBounds(java.awt.Rectangle rect)
           
 IzPanelConstraints getConstraints()
          Returns the constraints defined for this component.
 java.awt.Dimension getMaximumSize()
           
 java.awt.Dimension getMinimumSize()
           
 java.awt.Dimension getPreferredSize()
           
 void setConstraints(IzPanelConstraints constraints)
          Sets the constraints which should be used by this component.
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getAlignmentX, getAlignmentY, getBackground, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paint, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, update, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

size

private java.awt.Dimension size

constraints

private IzPanelConstraints constraints
Constructor Detail

IzPanelLayout.FillerComponent

public IzPanelLayout.FillerComponent()
Default constructor creating an filler with the size 0|0.


IzPanelLayout.FillerComponent

public IzPanelLayout.FillerComponent(java.awt.Dimension size)
Constructor with giving the filler a size.

Parameters:
size - dimension to be used as size for this filler.

IzPanelLayout.FillerComponent

public IzPanelLayout.FillerComponent(java.awt.Dimension size,
                                     IzPanelConstraints constraints)
Constructor with giving the filler a size and set the constraints.

Parameters:
size -
constraints -
Method Detail

getMinimumSize

public java.awt.Dimension getMinimumSize()
Overrides:
getMinimumSize in class java.awt.Component

getPreferredSize

public java.awt.Dimension getPreferredSize()
Overrides:
getPreferredSize in class java.awt.Component

getMaximumSize

public java.awt.Dimension getMaximumSize()
Overrides:
getMaximumSize in class java.awt.Component

getBounds

public java.awt.Rectangle getBounds()
Overrides:
getBounds in class java.awt.Component

getBounds

public java.awt.Rectangle getBounds(java.awt.Rectangle rect)
Overrides:
getBounds in class java.awt.Component

getConstraints

public IzPanelConstraints getConstraints()
Returns the constraints defined for this component. Often this will be null.

Returns:
the constraints defined for this component

setConstraints

public void setConstraints(IzPanelConstraints constraints)
Sets the constraints which should be used by this component.

Parameters:
constraints - constraints to be used