|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pivot.wtk.Component
org.apache.pivot.wtk.Container
org.apache.pivot.wtk.Border
@DefaultProperty(value="content") public class Border
Container that displays a border.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Container |
---|
Container.EDT_Checker |
Nested classes/interfaces inherited from class org.apache.pivot.wtk.Component |
---|
Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary |
Nested classes/interfaces inherited from interface org.apache.pivot.collections.Sequence |
---|
Sequence.Tree<T> |
Constructor Summary | |
---|---|
Border()
|
|
Border(Component content)
|
Method Summary | |
---|---|
ListenerList<BorderListener> |
getBorderListeners()
|
Component |
getContent()
Returns the border's content component. |
String |
getTitle()
Returns the border's title. |
Sequence<Component> |
remove(int index,
int count)
Removes one or more items from the sequence. |
void |
setContent(Component content)
Sets the border's content component. |
void |
setTitle(String title)
Sets the border's title. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Border()
public Border(Component content)
Method Detail |
---|
public String getTitle()
public void setTitle(String title)
title
- The new title, or null for no title.public Component getContent()
public void setContent(Component content)
content
- The border's content component, or null for no content.public Sequence<Component> remove(int index, int count)
Sequence
remove
in interface Sequence<Component>
remove
in class Container
index
- The starting index to remove.count
- The number of items to remove, beginning with index.
public ListenerList<BorderListener> getBorderListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |