com.alee.examples.groups.language
Class LanguageExample

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

public class LanguageExample
extends DefaultExample

User: mgarin Date: 29.10.12 Time: 16:01


Nested Class Summary
static class LanguageExample.MyLabel
          Custom label-based component with a new defined "pressed" state
static class LanguageExample.MyLabelUpdater
          Custom language updater for state support
 
Field Summary
 
Fields inherited from class com.alee.examples.content.DefaultExample
cursor, lmb, mmb, rmb
 
Constructor Summary
LanguageExample()
           
 
Method Summary
 java.lang.String getDescription()
          Returns short example description.
 java.awt.Component getPreview(WebLookAndFeelDemo owner)
          Returns preview component for this example.
 java.lang.String getTitle()
          Returns example title.
 
Methods inherited from class com.alee.examples.content.DefaultExample
doWhenPresentationFinished, getFeatureState, getPresentationSteps, getResource, getResources, isFillWidth, isPresentationAvailable, 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

LanguageExample

public LanguageExample()
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

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