com.sas.models
Class DefaultFontList
com.sas.models.DefaultFontList
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 , NodeInterface , SimpleNodeInterface , 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 DefaultFontList implements TreeInterface
This class provides a list of font objects
that are available on the system.
Creating a DefaultFontList Component
DefaultFontList = new DefaultFontList();
Usage
The DefaultFontList 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 Fonts. Can add to this list a
com.sas.awt.Font Object.
See Also: Serialized Form
Constructor Summary
DefaultFontList ()
The default constructor that fills list with the default fontnames.
Methods inherited from class com.sas.models.FontList
add , add , addItems , append , convertObject , countNodeChildren , getFont , getFont , getFonts , getNodeChild , getNodeChildCount , getNodeChildren , getNodeExpandedText , getNodeText , getNodeType , isLeafNode , set
Methods inherited from class com.sas.collection.OrderedCollection
add , addItems , apply , clone , computeNewCapacity , contains , count , dumpComponent , equals , equals , get , getIndex , getItems , getItems , getLastIndex , moveHole , moveHoleEnsureCapacity , remove , removeAll , removeAll , removeAt , setSize , sort , sort , sort , sort , toArray , toArray , toString
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
RB_KEY
protected static final java.lang.String RB_KEY
See Also: Constant Field Values
DefaultFontList
public DefaultFontList ()
The default constructor that fills list with the default fontnames.
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.PublicClonableOverrides: clone in class FontList
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 Overrides: getRoot in class FontList
Returns: NodeInterface
Copyright © 2009 SAS Institute Inc. All Rights Reserved.