@Deprecated public class ChainedProperties extends Object
| Modifier and Type | Field and Description | 
|---|---|
List |  
           chain 
             Deprecated.  
              
            
              A list of chained properties representing the tag hierarchy. 
               |  
          
| Constructor and Description | 
|---|
ChainedProperties() 
             Deprecated.  
              
            
              Creates a new instance of ChainedProperties 
               |  
          
| Modifier and Type | Method and Description | 
|---|---|
void |  
           addToChain(String tag, Map<String,String> props) 
             Deprecated.  
              
            
              Adds a tag and its corresponding properties to the chain. 
               |  
          
protected void |  
           adjustFontSize(Map<String,String> attrs) 
             Deprecated.  
              
            
              If the properties contain a font size, the size may need to be adjusted based on font sizes higher in the hierarchy. 
               |  
          
String |  
           getProperty(String key) 
             Deprecated.  
              
            
              Walks through the hierarchy (bottom-up) looking for a property key. 
               |  
          
boolean |  
           hasProperty(String key) 
             Deprecated.  
              
            
              Walks through the hierarchy (bottom-up) looking for a property key. 
               |  
          
void |  
           removeChain(String tag) 
             Deprecated.  
              
            
              Walks through the hierarchy (bottom-up) and removes the first occurrence of a tag that is encountered. 
               |  
          
public Listchain 
public ChainedProperties()
public String getProperty(String key)
key - the key of the property 
           public boolean hasProperty(String key)
key - the key of the property 
           public void addToChain(String tag, Map<String,String> props)
tag - the tags that needs to be added to the chain 
           props - the tag's attributes 
           public void removeChain(String tag)
tag - the tag that needs to be removed 
           Copyright © 1998–2019. All rights reserved.