|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jame.core.config.RuntimeElement
net.sf.jame.twister.frame.layer.AbstractLayerRuntimeElement
public abstract class AbstractLayerRuntimeElement
| Nested Class Summary | |
|---|---|
protected class |
AbstractLayerRuntimeElement.FilterListElementListener
|
| Constructor Summary | |
|---|---|
AbstractLayerRuntimeElement(LayerConfigElement layerElement)
Constructs a new layer. |
|
| Method Summary | |
|---|---|
protected void |
appendFilter(LayerFilterRuntimeElement filter)
|
protected void |
createFilters(LayerConfigElement layerElement)
|
void |
dispose()
Disposes the element resources. |
LayerFilterRuntimeElement |
getFilter(int index)
Returns a filter. |
int |
getFilterCount()
Returns the number of filters. |
protected LayerConfigElement |
getLayerElement()
|
float |
getOpacity()
Returns the layer opacity. |
int |
indexOfFilter(LayerFilterRuntimeElement filter)
Returns the filter index. |
protected void |
insertFilterAfter(int index,
LayerFilterRuntimeElement filter)
|
protected void |
insertFilterBefore(int index,
LayerFilterRuntimeElement filter)
|
boolean |
isChanged()
Tests and resets the change counter. |
boolean |
isLocked()
Returns true if the layer is locked. |
boolean |
isVisible()
Returns true if the layer is visible. |
protected void |
removeFilter(int index)
|
| Methods inherited from class net.sf.jame.core.config.RuntimeElement |
|---|
changeCount, finalize, fireChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractLayerRuntimeElement(LayerConfigElement layerElement)
layerElement - | Method Detail |
|---|
protected LayerConfigElement getLayerElement()
public void dispose()
RuntimeElement
dispose in class RuntimeElementRuntimeElement.dispose()protected void createFilters(LayerConfigElement layerElement)
public float getOpacity()
getOpacity in interface LayerRuntimeElementpublic boolean isLocked()
isLocked in interface LayerRuntimeElementpublic boolean isVisible()
isVisible in interface LayerRuntimeElementpublic LayerFilterRuntimeElement getFilter(int index)
getFilter in interface LayerRuntimeElementindex - the filter index.
public int indexOfFilter(LayerFilterRuntimeElement filter)
indexOfFilter in interface LayerRuntimeElementfilter - the filter.
public int getFilterCount()
getFilterCount in interface LayerRuntimeElementprotected void appendFilter(LayerFilterRuntimeElement filter)
protected void insertFilterAfter(int index,
LayerFilterRuntimeElement filter)
protected void insertFilterBefore(int index,
LayerFilterRuntimeElement filter)
protected void removeFilter(int index)
public boolean isChanged()
RuntimeElement
isChanged in class RuntimeElementRuntimeElement.isChanged()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||