com.microstrategy.web.transform.LayoutSourceDefns |
![]() |
The LayoutSourceDefns interface represents a collection of layout source defined by this Style Catalog.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
clear()
Clears the collection of layout source definition objects.
| ||||||||||
abstract int |
getCount()
Returns the number of
LayoutSourceDefn objects in this collection. | ||||||||||
abstract LayoutSourceDefn |
getLayoutSourceDefn(int index)
Gets the
LayoutSourceDefn associated with supplied index. | ||||||||||
abstract LayoutSourceDefn |
getLayoutSourceDefn(String name)
Gets the
LayoutSourceDefn associated with a given name. | ||||||||||
abstract LayoutSourceDefn |
newLayoutSourceDefn(String layoutSourceName)
Creates a new layout source definition object with the supplied name.
| ||||||||||
abstract void |
remove(int index)
Removes the
LayoutSourceDefn object at the specified index. | ||||||||||
abstract void |
remove(String name)
Removes the
LayoutSourceDefn object at the specified index. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Clears the collection of layout source definition objects.
UnsupportedOperationException | This exception is thrown if the Style Catalog is in "read only" mode. |
---|
Returns the number of LayoutSourceDefn
objects in this collection.
Gets the LayoutSourceDefn
associated with supplied index. A valid
index begins at 0 and continues to getCount() - 1
.
index | The index of the LayoutSourceDefn to return. |
---|
LayoutSourceDefn
at the supplied index.IndexOutOfBoundsException | This exception is thown if the argument is outside the range of a valid index. |
---|
Gets the LayoutSourceDefn
associated with a given name.
name | The name of the layout source definition object to return. |
---|
LayoutSourceDefn
object with the supplied name.IllegalArgumentException | This exception is thrown if the argument does not match one of the stored names. |
---|
Creates a new layout source definition object with the supplied name.
layoutSourceName | The name of the new LayoutSourceDefn object to create. |
---|
IllegalArgumentException | This exception is thrown if the argument already matches one of the stored names. |
---|---|
UnsupportedOperationException | This exception is thrown if the Style Catalog is in "read only" mode. |
Removes the LayoutSourceDefn
object at the specified index.
index | The index of the layout source definition object to remove. |
---|
IndexOutOfBoundsException | This exception is thown if the argument is outside the range of a valid index. |
---|---|
UnsupportedOperationException | This exception is thrown if the Style Catalog is in "read only" mode. |
Removes the LayoutSourceDefn
object at the specified index.
name | The name of the layout source definition object to remove. |
---|
IllegalArgumentException | This exception is thrown if the argument does not match one of the stored names. |
---|---|
UnsupportedOperationException | This exception is thrown if the Style Catalog is in "read only" mode. |