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

Quick Search    Search Deep

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

java.lang.Object
  extended byjavax.ide.menu.spi.Positionable
      extended byjavax.ide.menu.spi.Section
All Implemented Interfaces:
javax.ide.Identifiable

public final class Section
extends Positionable

A section is a collection of Items and Menus.


Field Summary
private  PositionMap _items
           
 
Constructor Summary
Section(java.lang.String id)
           
 
Method Summary
(package private)  void addItem(Positionable item)
           
 java.lang.String getAfter()
           
 java.lang.String getBefore()
           
 java.util.List getContent()
          Get the content of this section.
 java.lang.String getID()
          Gets this object's unique identifier.
 Positionable getItem(java.lang.String id)
           
(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

_items

private final PositionMap _items
Constructor Detail

Section

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

getContent

public java.util.List getContent()
Get the content of this section. The items in the list may be instances of either Item or Menu.


getItem

public Positionable getItem(java.lang.String id)

addItem

void addItem(Positionable item)

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)