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

Quick Search    Search Deep

cgsuite.extras
Class CherryTreeEditor  view CherryTreeEditor download CherryTreeEditor.java

java.lang.Object
  extended bycgsuite.extras.CherryTreeEditor
All Implemented Interfaces:
cgsuite.plugin.Editor

public class CherryTreeEditor
extends java.lang.Object
implements cgsuite.plugin.Editor

An editor for CherryTreePositions.

Created: Thu Jul 10 16:26:39 2003

Version:
1.0

Constructor Summary
CherryTreeEditor()
           
 
Method Summary
 cgsuite.Game constructGame(cgsuite.plugin.EditorPanel editorPanel, java.lang.Class type)
          Constructs a Game based on the specified editor panel.
 cgsuite.plugin.EditorPanel createDefaultEditorPanel(java.lang.Class type)
          Creates an cgsuite.plugin.EditorPanel for the specified game type, initialized to a suitable default representation.
 cgsuite.plugin.EditorPanel createEditorPanel(cgsuite.Game game)
          Creates a new EditorPanel for the specified game.
 void updateEditorPanel(cgsuite.plugin.EditorPanel editorPanel, cgsuite.Game game)
          Updates the specified editor panel with the specified game.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CherryTreeEditor

public CherryTreeEditor()
Method Detail

createEditorPanel

public cgsuite.plugin.EditorPanel createEditorPanel(cgsuite.Game game)
Creates a new EditorPanel for the specified game.

Specified by:
createEditorPanel in interface cgsuite.plugin.Editor

createDefaultEditorPanel

public cgsuite.plugin.EditorPanel createDefaultEditorPanel(java.lang.Class type)
Description copied from interface: cgsuite.plugin.Editor
Creates an cgsuite.plugin.EditorPanel for the specified game type, initialized to a suitable default representation.

Specified by:
createDefaultEditorPanel in interface cgsuite.plugin.Editor

updateEditorPanel

public void updateEditorPanel(cgsuite.plugin.EditorPanel editorPanel,
                              cgsuite.Game game)
Updates the specified editor panel with the specified game.

Specified by:
updateEditorPanel in interface cgsuite.plugin.Editor

constructGame

public cgsuite.Game constructGame(cgsuite.plugin.EditorPanel editorPanel,
                                  java.lang.Class type)
Constructs a Game based on the specified editor panel.

Specified by:
constructGame in interface cgsuite.plugin.Editor