org.oddjob.designer
Class Looks

java.lang.Object
  extended by org.oddjob.designer.Looks

public class Looks
extends Object

Provide some components and dimensions with a standard look and feel.


Field Summary
static int DESIGNER_HEIGHT
           
static int DESIGNER_TREE_WIDTH
           
static int DESIGNER_WIDTH
           
static int DETAIL_FORM_BORDER
           
static int DETAIL_FORM_WIDTH
           
static int DETAIL_USABLE_WIDTH
           
static int GROUP_BORDER
           
static int LABEL_SIZE
           
static int LIST_ROWS
           
static int TEXT_FIELD_SIZE
           
 
Constructor Summary
Looks()
           
 
Method Summary
static Border groupBorder(String title)
          Create a standard looking border.
static Component typePanel(String tag)
          Create the title panel with the type name for the top of the detail form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DESIGNER_TREE_WIDTH

public static final int DESIGNER_TREE_WIDTH
See Also:
Constant Field Values

DETAIL_FORM_WIDTH

public static final int DETAIL_FORM_WIDTH
See Also:
Constant Field Values

DETAIL_FORM_BORDER

public static final int DETAIL_FORM_BORDER
See Also:
Constant Field Values

GROUP_BORDER

public static final int GROUP_BORDER
See Also:
Constant Field Values

DETAIL_USABLE_WIDTH

public static final int DETAIL_USABLE_WIDTH
See Also:
Constant Field Values

TEXT_FIELD_SIZE

public static final int TEXT_FIELD_SIZE
See Also:
Constant Field Values

LABEL_SIZE

public static final int LABEL_SIZE
See Also:
Constant Field Values

LIST_ROWS

public static final int LIST_ROWS
See Also:
Constant Field Values

DESIGNER_HEIGHT

public static final int DESIGNER_HEIGHT
See Also:
Constant Field Values

DESIGNER_WIDTH

public static final int DESIGNER_WIDTH
See Also:
Constant Field Values
Constructor Detail

Looks

public Looks()
Method Detail

groupBorder

public static Border groupBorder(String title)
Create a standard looking border.

Parameters:
title - The border title.
Returns:
The border.

typePanel

public static Component typePanel(String tag)
Create the title panel with the type name for the top of the detail form.