org.pietschy.command.demo

Class AbstractDemoPanel

Implemented Interfaces:
DelegateContainer
Known Direct Subclasses:
FaceDemoPanel, GroupDemoPanel, ScriptDemoPanel, ToggleDemoPanel, UndoDemoPanel

public abstract class AbstractDemoPanel
extends DemoPanel

GUI Commands Copyright 2004 Andrew Pietsch Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. $Id: AbstractDemoPanel.java,v 1.7 2006/02/26 00:59:07 pietschy Exp $

Constructor Summary

AbstractDemoPanel(String name, String selectorId, String commandsUrl)
Creates a new JPanel with a double buffer and a flow layout.

Method Summary

abstract JComponent
createExamplePanel()
protected JComponent
createTextArea(String text)
int
getDividerLocation()
CommandGroup
getToolbarGroup()
abstract void
loadBlurb(HTMLPane html)

Methods inherited from class org.pietschy.command.demo.DemoPanel

getCommandExecutor, getCommandFileViewer, getMenuGroups, getSelector, getToolbarGroup, registerDelegate, registerDelegate

Constructor Details

AbstractDemoPanel

public AbstractDemoPanel(String name,
                         String selectorId,
                         String commandsUrl)
Creates a new JPanel with a double buffer and a flow layout.

Method Details

createExamplePanel

public abstract JComponent createExamplePanel()

createTextArea

protected JComponent createTextArea(String text)

getDividerLocation

public int getDividerLocation()

getToolbarGroup

public CommandGroup getToolbarGroup()
Overrides:
getToolbarGroup in interface DemoPanel

loadBlurb

public abstract void loadBlurb(HTMLPane html)