Interface StaticTextHandler
-
- All Superinterfaces:
ComponentHandler<StaticTextData>
,StaticTextData
public interface StaticTextHandler extends ComponentHandler<StaticTextData>, StaticTextData
Definition of an interface for a handler that represents a static text component.
Though static text elements are no input elements in the common sense it is possible to update some of their properties. For this purpose this interface provides some convenience methods, so that specific properties can be set and it is unnecessary to call
setData()
all the time.The
setData()
andgetData()
methods of this handler interface operate on
objects. By callingStaticTextData
setData()
with aStaticTextData
object all properties of the managed static text object are updated. If null is passed in, all properties (text and icon) and cleared.The
getData()
method will always return a
object representing the current state of the static text element. Note that the returned object is disconnected from the static text component, i.e. a manipulation of its properties will not affect the static text component directly. You have to callStaticTextData
setData()
explicitly for setting the changed values.This interface simply combines the
interface with theStaticTextData
interface.ComponentHandler
- Version:
- $Id: StaticTextHandler.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Method Summary
-
Methods inherited from interface net.sf.jguiraffe.gui.forms.ComponentHandler
getComponent, getData, getOuterComponent, getType, isEnabled, setData, setEnabled
-
Methods inherited from interface net.sf.jguiraffe.gui.builder.components.model.StaticTextData
getAlignment, getIcon, getText, setAlignment, setIcon, setText
-
-