|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
antsnest.level.LevelImpl
public abstract class LevelImpl
An implementation of a level that should be extended
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
protected ApplicationTasks |
appTasks
The object that can perform application tasks |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
LevelImpl()
|
|
| Method Summary | |
|---|---|
abstract void |
antInfoChanged(AntInfo newInfo)
Notifies the level the Ant information object has changed |
int |
compareTo(Object other)
Compares two levels |
boolean |
equals(Object other)
Determines if two levels are the same |
String |
getClassname()
Gets the name of the class behind this level |
String |
getDescription()
Gets a description of this level |
long |
getID()
Gets the ID of the level |
abstract boolean |
isUtility()
Gets whether this level is a utility rather than an editor |
abstract String |
performCopy()
Notifies the level a copy operation has been performed |
abstract String |
performCut()
Notifies the level a cut operation has been performed |
abstract void |
performPaste(String data)
Notifies the level a paste operation has been performed |
abstract void |
prepareForDisplay()
Notifies the level that it's about to be displayed |
abstract void |
prepareToBeHidden()
Notifies the level that it's about to be hidden |
abstract void |
projectChanged(AntProject newProject)
Notifies the level the Ant project has changed |
void |
setAppTasks(ApplicationTasks appTasks)
Sets the object that can perform application tasks |
void |
setID(long id)
Sets the ID of the level |
String |
toString()
Gets a string representation of this level |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ApplicationTasks appTasks
| Constructor Detail |
|---|
public LevelImpl()
| Method Detail |
|---|
public long getID()
getID in interface Levelpublic void setID(long id)
setID in interface Levelid - the level's IDpublic String getClassname()
getClassname in interface Levelpublic void setAppTasks(ApplicationTasks appTasks)
setAppTasks in interface LevelappTasks - the object that can perform application taskspublic String getDescription()
getDescription in interface Levelpublic String toString()
toString in class Componentpublic boolean equals(Object other)
equals in class Objectother - the other level to compare to
public int compareTo(Object other)
compareTo in interface Comparableother - the other level to compare to this one
public abstract void performPaste(String data)
performPaste in interface Leveldata - the data that was stored in the clipboardpublic abstract String performCopy()
performCopy in interface Levelpublic abstract String performCut()
performCut in interface Levelpublic abstract void projectChanged(AntProject newProject)
projectChanged in interface LevelnewProject - the newly changed projectpublic abstract void antInfoChanged(AntInfo newInfo)
antInfoChanged in interface LevelnewInfo - the newly changed information objectpublic abstract void prepareForDisplay()
prepareForDisplay in interface Levelpublic abstract void prepareToBeHidden()
prepareToBeHidden in interface Levelpublic abstract boolean isUtility()
isUtility in interface Level
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||