|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.common.swing.desktop.LayoutType
public abstract class LayoutType
Types of ViewLayouts. Currently there are two types of desktop layouts:
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormField Summary | |
---|---|
protected AbstractViewLayout |
layout
The actual layout |
static LayoutType |
MDI
Multiple Document View |
private String |
name
The name of the LayoutType |
private static int |
nextObj
|
private int |
obj
|
static LayoutType |
TDI
Tabbed View |
private static LayoutType[] |
VALUES
|
Constructor Summary | |
---|---|
protected |
LayoutType(String name)
Simple ctor |
Method Summary | |
---|---|
abstract AbstractViewLayout |
createLayout()
Create the appropriate kind of view layout |
boolean |
equals(Object o)
Prevent subclasses from overriding canonical identity based Object methods |
static LayoutType |
fromInteger(int i)
Lookup method to convert from an integer |
static LayoutType |
fromString(String name)
Lookup method to convert from a String |
AbstractViewLayout |
getLayout()
Return the layout |
int |
hashCode()
Prevent subclasses from overriding canonical identity based Object methods |
(package private) Object |
readResolve()
|
int |
toInteger()
Get an integer representation for this LayoutType |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LayoutType TDI
public static final LayoutType MDI
private String name
protected AbstractViewLayout layout
private static int nextObj
private final int obj
private static final LayoutType[] VALUES
Constructor Detail |
---|
protected LayoutType(String name)
Method Detail |
---|
public AbstractViewLayout getLayout()
public abstract AbstractViewLayout createLayout()
public int toInteger()
public static LayoutType fromString(String name)
public static LayoutType fromInteger(int i)
public final boolean equals(Object o)
equals
in class Object
Object.equals(java.lang.Object)
public final int hashCode()
hashCode
in class Object
Object.hashCode()
public String toString()
toString
in class Object
Object readResolve()
|
Copyright ยจ 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |