org.xulux.guilayer.swing.widgets
Class Label

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

public class Label
extends SwingWidget

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

Field Summary
 
Fields inherited from class org.xulux.gui.XuluxWidget
initialized, initializing, isRefreshing, log, previousValue, properties, value, visible
 
Constructor Summary
Label(java.lang.String name)
           
 
Method Summary
 boolean canContainValue()
           
 void destroy()
           
 java.lang.Object getGuiValue()
           
 java.lang.Object getNativeWidget()
           
 java.lang.Object getValue()
           
 void initialize()
           
protected  void initializeValue()
          Initializes the value.
 boolean isValueEmpty()
           
 void refresh()
          For now aligns to the right by default.
 void setValue(java.lang.Object value)
           
 
Methods inherited from class org.xulux.guilayer.swing.SwingWidget
focus, getWidgetInitializer
 
Methods inherited from class org.xulux.gui.XuluxWidget
addChildWidget, addDependency, addPropertyHandler, addPropertyHandler, addXuluxListener, canBeRootWidget, canContainChildren, clear, equals, getChildWidgets, getDependencies, getField, getName, getParent, getPart, getPrefix, getPreviousValue, getProperties, getProperty, getPropertyHandler, getPropertyHandlers, getProvider, getRealProperty, getRealValue, getRectangle, getRules, 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, setVisible, setWidgetInitializer, setWidgetType, toString, updateWidget
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Label

public Label(java.lang.String name)
Parameters:
name - the name of the label
Method Detail

destroy

public void destroy()
See Also:
org.xulux.nyx.gui.XuluxWidget#destroy()

getNativeWidget

public java.lang.Object getNativeWidget()
See Also:
org.xulux.nyx.gui.XuluxWidget#getNativeWidget()

initialize

public void initialize()
See Also:
org.xulux.nyx.gui.XuluxWidget#initialize()

refresh

public void refresh()
For now aligns to the right by default.

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

initializeValue

protected void initializeValue()
Initializes the value. This checks to see if you need a .


getGuiValue

public java.lang.Object getGuiValue()
See Also:
org.xulux.nyx.gui.XuluxWidget#getGuiValue()

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface org.xulux.api.gui.IWidget
Overrides:
setValue in class org.xulux.gui.XuluxWidget
See Also:
org.xulux.nyx.gui.XuluxWidget#setValue(java.lang.Object)

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface org.xulux.api.gui.IWidget
Overrides:
getValue in class org.xulux.gui.XuluxWidget
See Also:
org.xulux.nyx.gui.XuluxWidget#getValue()

canContainValue

public boolean canContainValue()
See Also:
org.xulux.nyx.gui.XuluxWidget#canContainValue()

isValueEmpty

public boolean isValueEmpty()
See Also:
org.xulux.nyx.gui.XuluxWidget#isValueEmpty()


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