artofillusion.ui
Class ThemeManager.ButtonStyle

java.lang.Object
  extended by artofillusion.ui.ThemeManager.ButtonStyle
Enclosing class:
ThemeManager

public static class ThemeManager.ButtonStyle
extends java.lang.Object

nested ButtonStyle class. Forms a chain of ButtonStyle objects for a particular Theme. ButtonStyle objects store all the attributes of the defining XML as elements of a Map. These values can be accessed by calling getAttribute(String).


Constructor Summary
ThemeManager.ButtonStyle(org.w3c.dom.Node node)
          create a new ButtonStyle by parsing the XML represented by node.
 
Method Summary
 java.lang.String getAttribute(java.lang.String name)
          get the named attribute value.
 ThemeManager.ButtonStyle getStyle(java.lang.Object owner)
          get the ButtonStyle assocaited with owner
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemeManager.ButtonStyle

public ThemeManager.ButtonStyle(org.w3c.dom.Node node)
create a new ButtonStyle by parsing the XML represented by node.

Parameters:
node - the XML defining the style.
Method Detail

getStyle

public ThemeManager.ButtonStyle getStyle(java.lang.Object owner)
get the ButtonStyle assocaited with owner


getAttribute

public java.lang.String getAttribute(java.lang.String name)
get the named attribute value.



Copyright © 1999-2011 by Peter Eastman.