|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.freecol.client.gui.panel.MapEditorTransformPanel.MapTransform
public abstract class MapEditorTransformPanel.MapTransform
Represents a transformation that can be applied to a Tile
.
transform(Tile)
Constructor Summary | |
---|---|
MapEditorTransformPanel.MapTransform()
|
Method Summary | |
---|---|
javax.swing.JPanel |
getDescriptionPanel()
A panel with information about this transformation. |
void |
setDescriptionPanel(javax.swing.JPanel descriptionPanel)
Sets a panel that can be used for describing this transformation to the user. |
abstract void |
transform(Tile t)
Applies this transformation to the given tile. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapEditorTransformPanel.MapTransform()
Method Detail |
---|
public abstract void transform(Tile t)
t
- The Tile
to be transformed,public javax.swing.JPanel getDescriptionPanel()
InfoPanel
when selected, but might
be used elsewhere as well.
null
if no panel has been set.public void setDescriptionPanel(javax.swing.JPanel descriptionPanel)
descriptionPanel
- The panel.setDescriptionPanel(JPanel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |