com.jgoodies.validation.demo.domain
Class Example

java.lang.Object
  extended by com.jgoodies.validation.demo.domain.Example

public final class Example
extends Object

Describes an example in the JGoodies Valiation Demo.

Author:
Karsten Lentzsch

Field Summary
static String PROPERTYNAME_DESCRIPTION
          The name of the unbound property description.
 
Constructor Summary
Example(String name, String description, Object builder)
          Constructs an Example for the given name, description and builder.
 
Method Summary
 Object getBuilder()
          Returns the associated design builder.
 String getBuildMethodName()
          Returns the method name used to build the design.
 String getDescription()
          Returns this example's text description.
 String getName()
          Returns this example's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTYNAME_DESCRIPTION

public static final String PROPERTYNAME_DESCRIPTION
The name of the unbound property description.

See Also:
Constant Field Values
Constructor Detail

Example

public Example(String name,
               String description,
               Object builder)
Constructs an Example for the given name, description and builder.

Parameters:
name - a string that identifies the example
description - a text that describes the example
builder - the instance that builds the example panel
Method Detail

getBuilder

public Object getBuilder()
Returns the associated design builder.

Returns:
the builder

getBuildMethodName

public String getBuildMethodName()
Returns the method name used to build the design.

Returns:
the name of the method that builds the panel

getDescription

public String getDescription()
Returns this example's text description.

Returns:
a text that describes this example

getName

public String getName()
Returns this example's name.

Returns:
this example's name


Copyright © 2003-2008 JGoodies Karsten Lentzsch. All Rights Reserved.