org.xulux.guilayer.swing.widgets
Class ScrollPane

java.lang.Object
  extended by org.xulux.gui.XuluxWidget
      extended by org.xulux.gui.ContainerWidget
          extended by org.xulux.guilayer.swing.widgets.ScrollPane
All Implemented Interfaces:
java.io.Serializable, org.xulux.api.gui.IContainerWidgetHandler, org.xulux.api.gui.IWidget

public class ScrollPane
extends org.xulux.gui.ContainerWidget

The scrollpane adds a scrollpane to the gui. You can use the scrollpane in the xml or if you define a widget to being scrollable, it will inject the scrollpane as the parent of the widget.

Version:
$Id: ScrollPane.java,v 1.1 2005/12/18 12:58:18 mvdb Exp $
Author:
Martin van den Bemt
See Also:
Serialized Form

Field Summary
protected  javax.swing.JScrollPane pane
           
 
Fields inherited from class org.xulux.gui.ContainerWidget
widgets
 
Fields inherited from class org.xulux.gui.XuluxWidget
initialized, initializing, isRefreshing, log, previousValue, properties, value, visible
 
Constructor Summary
ScrollPane(java.lang.String name)
           
 
Method Summary
 void addToParent(org.xulux.api.gui.IWidget widget)
           
 boolean canContainValue()
           
 void destroy()
           
 void focus()
           
 java.lang.Object getGuiValue()
           
 java.lang.Object getNativeWidget()
           
 void initialize()
           
 boolean isValueEmpty()
           
 void refresh()
           
 
Methods inherited from class org.xulux.gui.ContainerWidget
addChildWidget, canBeRootWidget, canContainChildren, destroyChildren, getChildWidgets, getWidgetInitializer, initializeChildren
 
Methods inherited from class org.xulux.gui.XuluxWidget
addDependency, addPropertyHandler, addPropertyHandler, addXuluxListener, clear, equals, getDependencies, getField, getName, getParent, getPart, getPrefix, getPreviousValue, getProperties, getProperty, getPropertyHandler, getPropertyHandlers, getProvider, getRealProperty, getRealValue, getRectangle, getRules, getValue, getWidgetType, handleProperties, handleProperty, hasDependencies, ignoreLayout, ignoreUse, isEnabled, isImmidiate, isInitializing, isRefreshing, isRequired, isRootWidget, isSkip, isUseIgnored, isValidValue, isVisible, notifyListeners, processDestroy, processInit, processNativeWidget, registerRule, removeAllRules, setAutoRefresh, setContainerWidgetHandler, setEnabled, setField, setImmidiate, setLazyProperty, setName, setParent, setPart, setPosition, setPrefix, setProperty, setProvider, setRequired, setRootWidget, setSize, setSkip, setValidValue, setValue, setVisible, setWidgetInitializer, setWidgetType, toString, updateWidget
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pane

protected javax.swing.JScrollPane pane
Constructor Detail

ScrollPane

public ScrollPane(java.lang.String name)
Parameters:
name - the name of the widget
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface org.xulux.api.gui.IContainerWidgetHandler
Specified by:
destroy in interface org.xulux.api.gui.IWidget
Overrides:
destroy in class org.xulux.gui.ContainerWidget
See Also:
IWidget.destroy()

getNativeWidget

public java.lang.Object getNativeWidget()
See Also:
IWidget.getNativeWidget()

initialize

public void initialize()
See Also:
IWidget.initialize()

getGuiValue

public java.lang.Object getGuiValue()
See Also:
IWidget.getGuiValue()

focus

public void focus()
See Also:
IWidget.focus()

isValueEmpty

public boolean isValueEmpty()
See Also:
IWidget.isValueEmpty()

canContainValue

public boolean canContainValue()
See Also:
IWidget.canContainValue()

addToParent

public void addToParent(org.xulux.api.gui.IWidget widget)
See Also:
org.xulux.gui.ContainerWidget#addToParent(org.xulux.gui.XuluxWidget)

refresh

public void refresh()
Specified by:
refresh in interface org.xulux.api.gui.IWidget
Overrides:
refresh in class org.xulux.gui.XuluxWidget
See Also:
XuluxWidget.refresh()


Copyright © 2002-2007 Martin van den Bemt. All Rights Reserved.