com.alee.examples.groups.colorchooser
Class GradientColorChooserExample

java.lang.Object
  extended by com.alee.examples.content.DefaultExample
      extended by com.alee.examples.groups.colorchooser.GradientColorChooserExample
All Implemented Interfaces:
Example

public class GradientColorChooserExample
extends DefaultExample

User: mgarin Date: 27.11.12 Time: 14:56


Field Summary
 
Fields inherited from class com.alee.examples.content.DefaultExample
cursor, lmb, mmb, rmb
 
Constructor Summary
GradientColorChooserExample()
           
 
Method Summary
 java.lang.String getDescription()
          Returns short example description.
 FeatureState getFeatureState()
          Returns current state of the component development.
 java.util.List<PresentationStep> getPresentationSteps()
          Returns null list of live presentation steps by default.
 java.awt.Component getPreview(WebLookAndFeelDemo owner)
          Returns preview component for this example.
 java.lang.String getTitle()
          Returns example title.
 java.awt.Point gripper1()
           
 boolean isPresentationAvailable()
          Returns whether live presentation is available for this example or not.
 
Methods inherited from class com.alee.examples.content.DefaultExample
doWhenPresentationFinished, getResource, getResources, isFillWidth, loadIcon, loadIcon, nextPresentationStep, startPresentation, stopPresentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientColorChooserExample

public GradientColorChooserExample()
Method Detail

getTitle

public java.lang.String getTitle()
Description copied from interface: Example
Returns example title. It might be used in examples tree or list.

Returns:
example title

getDescription

public java.lang.String getDescription()
Description copied from interface: Example
Returns short example description. It might be used in some additional information fields.

Returns:
short example description

getFeatureState

public FeatureState getFeatureState()
Description copied from class: DefaultExample
Returns current state of the component development.

Specified by:
getFeatureState in interface Example
Overrides:
getFeatureState in class DefaultExample
Returns:
current state of the component development

isPresentationAvailable

public boolean isPresentationAvailable()
Description copied from class: DefaultExample
Returns whether live presentation is available for this example or not. Live presentation should guide user through the example, displaying its possible usage ways.

Specified by:
isPresentationAvailable in interface Example
Overrides:
isPresentationAvailable in class DefaultExample
Returns:
true if live presentation is available for this example, false otherwise

getPresentationSteps

public java.util.List<PresentationStep> getPresentationSteps()
Description copied from class: DefaultExample
Returns null list of live presentation steps by default.

Overrides:
getPresentationSteps in class DefaultExample
Returns:
null

gripper1

public java.awt.Point gripper1()

getPreview

public java.awt.Component getPreview(WebLookAndFeelDemo owner)
Description copied from interface: Example
Returns preview component for this example. There might be any possible component here, but make sure it fits the demo application.

Parameters:
owner - demo application main frame
Returns:
preview component