 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.gui.panel.archetypechooser;
22 import java.awt.Component;
23 import javax.swing.JList;
30 import org.jetbrains.annotations.NotNull;
61 super.getListCellRendererComponent(
list, value, index, isSelected, cellHasFocus);
77 return JList.VERTICAL;
String getArchetypeName()
Returns the name of this archetype.
Base package of all Gridarta classes.
int compare(final Archetype< G, A, R > o1, final Archetype< G, A, R > o2)
Provider for faces of GameObjects and Archetypes.
Reflects a game object (object on a map).
String getBestName()
Returns the name which is best appropriate to describe this GameObject.
DisplayNameCellRenderer(@NotNull final FaceObjectProviders faceObjectProviders)
Creates a new instance.
GameObjects are the objects based on Archetypes found on maps.
static final long serialVersionUID
Serial Version UID.
This document describes some hints and requirements for general development on the CrossfireEditor If you plan to make changes to the editor code or setup please read the following and keep it in derived from a basic editor application called Gridder by Pasi Ker�nen so please communicate with best through the cf devel mailing list
Interface for MapArchObjects.
public< G extends GameObject< G, A, R >, A extends MapArchObject< A >, R extends Archetype< G, A, R > > ImageIcon getFace(@NotNull final BaseObject< G, A, R, ?> baseObject)
Returns the face of a BaseObject as an ImageIcon.
Component getListCellRendererComponent(final JList<?> list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus)
The face is the appearance of an object.
final FaceObjectProviders faceObjectProviders
The FaceObjectProviders for looking up faces.
Abstract base class for classes implementing display modes of the archetype chooser.
A DisplayMode showing archetypes as images and in-game game object name.
int getLayoutOrientation()
Returns the layout orientation.