Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.ide.menu.spi
Class SectionContainer  view SectionContainer download SectionContainer.java

java.lang.Object
  extended byjavax.ide.menu.spi.Positionable
      extended byjavax.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.


Field Summary
private  PositionMap _sections
           
 
Constructor Summary
SectionContainer(java.lang.String id)
           
 
Method Summary
(package private)  void addSection(Section section)
           
 java.lang.String getAfter()
           
 java.lang.String getBefore()
           
 java.lang.String getID()
          Gets this object's unique identifier.
 Section getSection(java.lang.String id)
           
 java.util.List getSections()
          Get the sections in this container.
(package private)  void setAfter(java.lang.String after)
           
(package private)  void setBefore(java.lang.String before)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_sections

private final PositionMap _sections
Constructor Detail

SectionContainer

public SectionContainer(java.lang.String id)
Method Detail

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)