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

Quick Search    Search Deep

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

java.lang.Object
  extended byjavax.ide.menu.spi.Positionable
All Implemented Interfaces:
javax.ide.Identifiable
Direct Known Subclasses:
Item, Section, SectionContainer

abstract class Positionable
extends java.lang.Object
implements javax.ide.Identifiable

Menu model elements that can be positioned relative to other items of the same type are Positionable. They provide one of 'before' or 'after', or neither.


Field Summary
private  java.lang.String _after
           
private  java.lang.String _before
           
private  java.lang.String _id
           
 
Constructor Summary
protected Positionable(java.lang.String id)
           
 
Method Summary
 java.lang.String getAfter()
           
 java.lang.String getBefore()
           
 java.lang.String getID()
          Gets this object's unique identifier.
(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

_id

private final java.lang.String _id

_before

private java.lang.String _before

_after

private java.lang.String _after
Constructor Detail

Positionable

protected Positionable(java.lang.String id)
Method Detail

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)