jview
Interface Displayable

All Known Subinterfaces:
DataAnalysing, DisplayChronology, JDisplayableCommand
All Known Implementing Classes:
AbstractDisplayable, DeviceSimulator, JAbstractAnalyser, JAcquireDisplay, JAdapter, JAdapterDisplay, JAllsky, JAllskyDisplay, JAnalyserToFit, JAsynchronAnalyser, JBaycam, JBorderFrame, JCamera, JClientFrame, JDatabaseDisplay, JDataModelDisplay, JDataModelFrame, JDataSink, JDaycam, JEditableAnalyser, JElementDisplay, JElementEdit, JEnvironment, JEnvironmentDisplay, JEnvironmentDisplay.Headless, JExpressionFrame, JExtremaSelect, JFitsDisplay, JFitsFrame, JFocusDisplay, JFtpWebcam, JGuiderPanel, JHeaderDisplay, JInfoPanel, JLaunchBox, JLogField, JMasterDisplay, JMasterFrame, JMessageListener, JMoveTelescope, JObjectDisplay, JOffLimit, JOffLimit.Monitor, JOffLimit.Server, JOffsetDisplay, JOffTails, JOffTails.Server, JOpenFrame, JParameterDisplay, JPhaseFrame, JPhasePlot, JPhotometryDisplay, JPointingGrabber, JQuickDisplay, JResultsPanel, JRoofView, JRoofView.Link, JRS485Config, JRS485Simulator, JSensorTable, JSimpleCommand, JSliderParameter, JSpectrumCanvas, JSpectrumDisplay, JSplittedDataDisplay, JStatisticAnalyser, JStatusExit, JStatusField, JStatusPanel, JStatusSave, JStella, JTargetHelper, JTargetTable, JTargetTableManager, JTargetTableRanker, JTelescopeStatusPanel, JTypeHelper, JVisualizingAnalyser, JWebcam, ShapeStatistic

public interface Displayable

An interface that describes the capability of an object to present itself within a component. This is meant fully general, and should be used for any graphical (sub)sytem that can be ordered in a single panel. Note: the method getRepresentation() returns the basic Component object, but subclasses are encouraged to return more specific sublasses, like JPanel of the generic component class.
This class it not intended for classes that directly subclass Component or its daugther classes. It is a common base for classes that only purpose is to be displayed, but want to extend a different superclass.


Method Summary
 Icon getIcon()
          Returns an icon of this displayable.
 Component getRepresentation()
          Returns a graphical representation of this object.
 

Method Detail

getRepresentation

Component getRepresentation()
Returns a graphical representation of this object. Any layout and event-listener registration must occur in this method.


getIcon

Icon getIcon()
Returns an icon of this displayable. May return null, if no Icon is available for this object.