com.alee.examples.content.Example Maven / Gradle / Ivy
/*
* This file is part of WebLookAndFeel library.
*
* WebLookAndFeel library is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* WebLookAndFeel library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with WebLookAndFeel library. If not, see .
*/
package com.alee.examples.content;
import com.alee.examples.WebLookAndFeelDemo;
import java.awt.*;
import java.util.List;
/**
* This interface provides base methods for WebLaF demo example classes managed by ExampleManager.
*
* @author Mikle Garin
*/
public interface Example
{
/**
* Returns example title.
* It might be used in examples tree or list.
*
* @return example title
*/
public String getTitle ();
/**
* Returns short example description.
* It might be used in some additional information fields.
*
* @return short example description
*/
public String getDescription ();
/**
* Returns list of resources used in example.
* There might be anything - images, files, urls, classes or something else.
* ExampleManager might provide preview components for some of their types.
*
* @return list of resources used in example
*/
public List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy