de.javasoft.plaf.synthetica.painter
Class UIKey

java.lang.Object
  extended by de.javasoft.plaf.synthetica.painter.UIKey

public class UIKey
extends java.lang.Object

Helper class to simplify key generation including component states.

Version:
1.04, 19.02.2009

Constructor Summary
UIKey(java.lang.String componentKey, SyntheticaState state)
          Constructor.
UIKey(java.lang.String componentKey, SyntheticaState state, java.lang.String prefix)
          Constructor.
 
Method Summary
 java.lang.String get()
          Returns the complete UI-property key including state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIKey

public UIKey(java.lang.String componentKey,
             SyntheticaState state)
Constructor. The default key prefix "Synthetica." is used.

Parameters:
componentKey - String key for the component ("componentKey.subComponentKey" i.e. "button.border").
state - The component state.

UIKey

public UIKey(java.lang.String componentKey,
             SyntheticaState state,
             java.lang.String prefix)
Constructor.

Parameters:
componentKey - String key for the component ("componentKey.subComponentKey" i.e. "button.border").
state - The component state.
prefix - Key prefix.
Method Detail

get

public java.lang.String get()
Returns the complete UI-property key including state.

Returns:
The complete UI-property key i.e. "Synthetica.button.border".


Copyright © 2004-2011 Jyloo Software. All Rights Reserved.