com.melloware.jukes.gui.view.editor
Interface Editor

All Known Implementing Classes:
AbstractEditor, ArtistEditor, DiscEditor, EmptyPanel, TrackEditor, WelcomePanel

public interface Editor

This interface describes general editor that have an Icon, title, ToolBar, and can set and return a model.

Copyright (c) 1999-2007 Melloware, Inc.

Version:
4.0
Author:
Emil A. Lefkof III

Method Summary
 void activate()
          Activates the editor.
 void deactivate()
          Deactivates the editor.
 java.lang.Class getDomainClass()
          Returns the associated domain class used to register this editor with the EditorPanel's registry.
 javax.swing.JToolBar getHeaderToolBar()
          Answers the editor's header tool bar.
 javax.swing.Icon getIcon()
          Answers the editor's icon.
 java.lang.Object getModel()
          Returns this editor's model.
 java.lang.String getTitle()
          Answers the editor's title.
 javax.swing.JToolBar getToolBar()
          Answers the editor's tool bar.
 void setModel(java.lang.Object model)
          Sets this editor's model.
 

Method Detail

getIcon

javax.swing.Icon getIcon()
Answers the editor's icon.


getTitle

java.lang.String getTitle()
Answers the editor's title.


getToolBar

javax.swing.JToolBar getToolBar()
Answers the editor's tool bar.


getHeaderToolBar

javax.swing.JToolBar getHeaderToolBar()
Answers the editor's header tool bar.


activate

void activate()
Activates the editor.


deactivate

void deactivate()
Deactivates the editor.


getDomainClass

java.lang.Class getDomainClass()
Returns the associated domain class used to register this editor with the EditorPanel's registry.


getModel

java.lang.Object getModel()
Returns this editor's model.


setModel

void setModel(java.lang.Object model)
Sets this editor's model. Called when the edited instance changed.



Copyright © 1999-2008 Melloware Inc. All Rights Reserved.