java.lang.Object
javax.ide.menu.spi.Positionable
javax.ide.menu.spi.SectionContainer
- All Implemented Interfaces:
- javax.ide.Identifiable
- Direct Known Subclasses:
- Menu, PopupMenu, Toolbar
- public class SectionContainer
- extends Positionable
Section Container is a container of sections. This corresponds to the
sectionContainerType schema type.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_sections
private final PositionMap _sections
SectionContainer
public SectionContainer(java.lang.String id)
addSection
void addSection(Section section)
getSections
public java.util.List getSections()
- Get the sections in this container.
getSection
public Section getSection(java.lang.String id)
getBefore
public final java.lang.String getBefore()
getAfter
public final java.lang.String getAfter()
getID
public final java.lang.String getID()
- Description copied from interface:
javax.ide.Identifiable
- Gets this object's unique identifier.
- Specified by:
getID
in interface javax.ide.Identifiable
setBefore
void setBefore(java.lang.String before)
setAfter
void setAfter(java.lang.String after)