|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Slide.SlideLayout>
org.odftoolkit.simple.presentation.Slide.SlideLayout
public static enum Slide.SlideLayout
A slide layout is a slide with some predefine place holder. we define some template layout as below:
| Enum Constant Summary | |
|---|---|
BLANK
Blank, a blank presentation |
|
TITLE_LEFT_CHART_RIGHT_OUTLINE
title_three_objects, the presentation with title, chart and outline blocks. |
|
TITLE_ONLY
Title_only, the presentation with title only |
|
TITLE_OUTLINE
Title_outline, the presentation with outline |
|
TITLE_PLUS_2_CHART
title_plus_two_chart, the presentation with title and two charts. |
|
TITLE_PLUS_2_TEXT_BLOCK
title_two_text_block, the presentation with title and two text blocks |
|
TITLE_PLUS_3_OBJECT
title_three_object, the presentation with title and three object blocks. |
|
TITLE_PLUS_4_OBJECT
title_four_object, the presentation with title and four object blocks. |
|
TITLE_PLUS_CHART
title_plus_chart, the presentation with title and chart. |
|
TITLE_PLUS_TEXT
Title_text, the presentation with title and one text block |
|
TITLE_SUBTITLE
title_subtitle, the presentation with title and subtitle. |
|
| Method Summary | |
|---|---|
abstract void |
apply(DrawPageElement page)
Applies this layout on a slide page. |
static Slide.SlideLayout |
enumValueOf(String aString)
Return a template slide type. |
String |
toString()
Return the slide template type value. |
static String |
toString(Slide.SlideLayout aEnum)
Return the name of the template slide type. |
static Slide.SlideLayout |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Slide.SlideLayout[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Slide.SlideLayout BLANK
public static final Slide.SlideLayout TITLE_ONLY
public static final Slide.SlideLayout TITLE_SUBTITLE
public static final Slide.SlideLayout TITLE_OUTLINE
public static final Slide.SlideLayout TITLE_PLUS_TEXT
public static final Slide.SlideLayout TITLE_PLUS_2_TEXT_BLOCK
public static final Slide.SlideLayout TITLE_LEFT_CHART_RIGHT_OUTLINE
public static final Slide.SlideLayout TITLE_PLUS_CHART
public static final Slide.SlideLayout TITLE_PLUS_2_CHART
public static final Slide.SlideLayout TITLE_PLUS_3_OBJECT
public static final Slide.SlideLayout TITLE_PLUS_4_OBJECT
| Method Detail |
|---|
public static final Slide.SlideLayout[] values()
for(Slide.SlideLayout c : Slide.SlideLayout.values())
System.out.println(c);
public static Slide.SlideLayout valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified namepublic abstract void apply(DrawPageElement page)
page - the slide element which this layout is applied on.public String toString()
toString in class Enum<Slide.SlideLayout>public static String toString(Slide.SlideLayout aEnum)
aEnum - a SlideLayout
public static Slide.SlideLayout enumValueOf(String aString)
aString - the name of the slide template type
SlideLayout
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||