com.sas.models
Class DefaultFontFamilyList

com.sas.models.DefaultFontFamilyList
All Implemented Interfaces:
com.sas.beans.PropertyChangeSource, com.sas.beans.VetoableChangeSource, CollectionInterface, com.sas.collection.ContentsChangedSource, OrderedCollectionInterface, Sortable, StaticCollectionInterface, StaticOrderedCollectionInterface, ComponentInterface, com.sas.DeepClonable, LinkPropertiesInterface, ModelInterface, TreeInterface, com.sas.PublicClonable, com.sas.util.Countable, com.sas.util.Enumerable, com.sas.util.EventGateInterface, IndexedGetInterface, IndexedSetInterface, ViewInterface, MultipleValueEventSourceInterface, java.beans.PropertyChangeListener, java.io.ObjectInputValidation, java.io.Serializable, java.lang.Cloneable, java.util.EventListener

public class DefaultFontFamilyList
implements TreeInterface, com.sas.PublicClonable

This class provides a list of font family names that are available on the system.

Creating a DefaultFontFamilyList Component

DefaultFontFamilyList = new DefaultFontFamilyList(); Usage

The DefaultFontFamilyList is a list which can be dropped on any visual component that supports OrderedCollection Interface and TreeInterface like ListBox, ComboBox, or TreeInterface. The List is filled with the System defined Font family names.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.collection.OrderedCollection
RB_KEY
 
Fields inherited from class com.sas.collection.BaseCollection
allContentsChangedListeners, mappingObject
 
Constructor Summary
DefaultFontFamilyList()
          The default constructor that fills list with the default fontnames.
 
Method Summary
 java.lang.Object clone()
          Create a copy of the current model
static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()
           
 NodeInterface getRoot()
          Gets the root for the tree implementation of the fontList
 
Methods inherited from class com.sas.collection.OrderedCollection
add, add, addItems, addItems, append, apply, clone, computeNewCapacity, contains, count, dumpComponent, equals, equals, get, getIndex, getItems, getItems, getLastIndex, moveHole, moveHoleEnsureCapacity, remove, removeAll, removeAll, removeAt, set, setSize, sort, sort, sort, sort, toArray, toArray, toString
 
Methods inherited from class com.sas.collection.BaseCollection
addContentsChangedListener, anyContentsChangedListeners, disableEvents, enableEvents, enableEvents, fireContentsChanged, map, removeContentsChangedListener, unmap
 
Methods inherited from class com.sas.Component
addLink, addPropertyChangeListener, addVetoableChangeListener, anyPropertyChangeListeners, attachModel, attachView, beansIsDesignTime, beansSetDesignTime, clone, detachModel, detachView, firePropertyChange, firePropertyChange, fireVetoableChange, getComponentDescription, getComponentSupportInfo, getEventMethod, getEventValues, getLinkInfo, getModelInterface, getRequiredInterfaces, getResources, getStringResource, getViewInterfaceSupportInfo, initialize, initializeComponent, isDesignTime, isLinked, propertyChange, queryLinks, queryLinks, refresh, removeAllLinks, removeInterfaceTraps, removeLink, removePropertyChangeListener, removeVetoableChangeListener, setComponentDescription, setComponentSupportInfo, setDefaultValues, setLinkInfo, setModelInterface, setRequiredInterfaces, setViewInterfaceSupportInfo, supportsListenerInterface, supportsRequiredInterfaces, trapInterfaceEvents, validateObject
 
Methods inherited from interface com.sas.collection.ContentsChangedSource
addContentsChangedListener, removeContentsChangedListener
 
Methods inherited from interface com.sas.beans.PropertyChangeSource
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

DefaultFontFamilyList

public DefaultFontFamilyList()
The default constructor that fills list with the default fontnames.

Method Detail

getExtendedBeanInfo

public static com.sas.beans.ExtendedBeanInfo getExtendedBeanInfo()

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Create a copy of the current model

Specified by:
clone in interface CollectionInterface
Specified by:
clone in interface OrderedCollectionInterface
Specified by:
clone in interface StaticCollectionInterface
Specified by:
clone in interface StaticOrderedCollectionInterface
Specified by:
clone in interface com.sas.PublicClonable
Overrides:
clone in class OrderedCollection
Returns:
a clone of this collection.
Throws:
java.lang.CloneNotSupportedException - if the clone fails.

getRoot

public NodeInterface getRoot()
Gets the root for the tree implementation of the fontList

Specified by:
getRoot in interface TreeInterface
Returns:
NodeInterface



Copyright © 2009 SAS Institute Inc. All Rights Reserved.