net.sourceforge.nite.nstyle.handler
Class ScrollPaneHandler

java.lang.Object
  extended by net.sourceforge.nite.nstyle.handler.NDisplayObjectHandler
      extended by net.sourceforge.nite.nstyle.handler.JComponentHandler
          extended by net.sourceforge.nite.nstyle.handler.ScrollPaneHandler

public class ScrollPaneHandler
extends JComponentHandler

Author:
judyr To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
ScrollPaneHandler()
           
 
Method Summary
 void addChild(NDisplayObjectHandler child)
          When adding a child to a JScrollPane, it is necessary to add it the viewport
 java.awt.Color setUpBackgroundColour()
          This needs it's own method for this, so it can set the internal panel to the background colour rather than the scroll pnae itself
 
Methods inherited from class net.sourceforge.nite.nstyle.handler.JComponentHandler
addActionReference, getImage, getJComponent, registerAction, setImage, setUpFont, setUpForegroundColour, setUpImage, setUpToolTip
 
Methods inherited from class net.sourceforge.nite.nstyle.handler.NDisplayObjectHandler
addActionReference, getActionReferences, getChildren, getClock, getElement, getEndTime, getID, getParent, getSourceID, getStartTime, init, setChildren, setClock, setElement, setEndTime, setID, setParent, setSourceID, setStartTime, setUpTimes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrollPaneHandler

public ScrollPaneHandler()
Method Detail

setUpBackgroundColour

public java.awt.Color setUpBackgroundColour()
This needs it's own method for this, so it can set the internal panel to the background colour rather than the scroll pnae itself

Overrides:
setUpBackgroundColour in class JComponentHandler

addChild

public void addChild(NDisplayObjectHandler child)
When adding a child to a JScrollPane, it is necessary to add it the viewport

Overrides:
addChild in class JComponentHandler
Parameters:
child - The child to add.
See Also:
net.sourceforge.net.sourceforge.nite.nstyle.handler.NDisplayObjectHandler#addChild(net.sourceforge.net.sourceforge.nite.nstyle.handler.NDisplayObjectHandler)