org.kalmeo.kuix.core.style
Class StyleProperty

java.lang.Object
  extended by org.kalmeo.kuix.core.style.StyleProperty

public class StyleProperty
extends java.lang.Object

A StyleProperty represents a name / value pair. For example name : "color" and value : Color.RED.

Author:
bbeaulant

Constructor Summary
StyleProperty(java.lang.String name, java.lang.Object value)
          Construct a StyleAttribute
StyleProperty(java.lang.String name, java.lang.String rawValue)
          Construct a StyleAttribute
 
Method Summary
 int compareTo(LinkedListItem item, int flag)
           
 StyleProperty copy()
          Returns a copy of this StyleProperty.
 java.lang.String getName()
          Returns the name of the styleProperty.
 LinkedListItem getNext()
           
 LinkedListItem getPrevious()
           
 java.lang.Object getValue()
          Retuns the value of the styleProperty.
 void setNext(LinkedListItem next)
           
 void setPrevious(LinkedListItem parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleProperty

public StyleProperty(java.lang.String name,
                     java.lang.String rawValue)
Construct a StyleAttribute

Parameters:
name -
rawValue -

StyleProperty

public StyleProperty(java.lang.String name,
                     java.lang.Object value)
Construct a StyleAttribute

Parameters:
name -
value -
Method Detail

getNext

public LinkedListItem getNext()

getPrevious

public LinkedListItem getPrevious()

setNext

public void setNext(LinkedListItem next)

setPrevious

public void setPrevious(LinkedListItem parent)

getName

public java.lang.String getName()
Returns the name of the styleProperty.

Returns:
the name

getValue

public java.lang.Object getValue()
Retuns the value of the styleProperty.

Returns:
the value

copy

public StyleProperty copy()
Returns a copy of this StyleProperty. Only name and value fields ae copied.

Returns:
A copy of this StyleProperty

compareTo

public int compareTo(LinkedListItem item,
                     int flag)


Copyright © 2007-2008 Kalmeo. All Rights Reserved.