oracle.dss.graph.gui
Class StyleList
java.lang.Object
|
+--java.util.AbstractCollection
|
+--java.util.AbstractList
|
+--java.util.ArrayList
|
+--oracle.dss.graph.gui.StyleList
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.util.List, java.io.Serializable
- public class StyleList
- extends java.util.ArrayList
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
StyleList
public StyleList(int size)
- Constructor.
StyleList
public StyleList(StyleList list)
- Constructor.
setLocale
public void setLocale(java.util.Locale locale)
- Specifies the
Locale
for this StyleList
.
-
- Parameters:
locale
- The Locale
for this StyleList
.
getStyleListEntry
public StyleListEntry getStyleListEntry(int index)
getStyleIndex
public int getStyleIndex(java.lang.String stylePath)
- returns the index of the specified stylePath in this list if stylePath is null returns the index of the default Style.
-
- Parameters:
stylePath
- either stylePath
getDefaultStyleIndex
public int getDefaultStyleIndex()
getCustomStyleIndex
public int getCustomStyleIndex()
addCustomStyle
public int addCustomStyle()
addRequiredStyles
public void addRequiredStyles()
Copyright © 2003, Oracle. All Rights Reserved.