Skip to main content

ThemeColorScheme Class

Defines the color scheme for a presentation theme.

Declaration

public class ThemeColorScheme extends PresentationObject

Remarks

A theme color scheme consists of twelve colors defined by the Office Open XML standard:

These colors can be referenced throughout the presentation to ensure consistent visual styling.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject

ThemeColorScheme()

Initializes a new instance of the ThemeColorScheme class.

Declaration

public ThemeColorScheme()

Methods

deepClone() Method

Clones the current ThemeColorScheme instance.

Declaration

public ThemeColorScheme deepClone()

Returns

Type Description
ThemeColorScheme

The cloned ThemeColorScheme instance.

getAccent1() Method

Returns the first accent color in the theme color scheme.

Declaration

public OfficeColor getAccent1()

Returns

Type Description
OfficeColor

An OfficeColor value.

getAccent2() Method

Returns the second accent color in the theme color scheme.

Declaration

public OfficeColor getAccent2()

Returns

Type Description
OfficeColor

An OfficeColor value.

getAccent3() Method

Returns the third accent color in the theme color scheme.

Declaration

public OfficeColor getAccent3()

Returns

Type Description
OfficeColor

An OfficeColor value.

getAccent4() Method

Returns the fourth accent color in the theme color scheme.

Declaration

public OfficeColor getAccent4()

Returns

Type Description
OfficeColor

An OfficeColor value.

getAccent5() Method

Returns the fifth accent color in the theme color scheme.

Declaration

public OfficeColor getAccent5()

Returns

Type Description
OfficeColor

An OfficeColor value.

getAccent6() Method

Returns the sixth accent color in the theme color scheme.

Declaration

public OfficeColor getAccent6()

Returns

Type Description
OfficeColor

An OfficeColor value.

getDark1() Method

Returns the first dark color in the theme color scheme.

Declaration

public OfficeColor getDark1()

Returns

Type Description
OfficeColor

An OfficeColor value.

Remarks

This color is typically used for text or foreground elements.

getDark2() Method

Returns the second dark color in the theme color scheme.

Declaration

public OfficeColor getDark2()

Returns

Type Description
OfficeColor

An OfficeColor value.

Remarks

This color is typically used for secondary text or foreground elements.

Returns the color for visited (followed) hyperlinks in the theme color scheme.

public OfficeColor getFollowedHyperlink()
Type Description
OfficeColor

An OfficeColor value.

Returns the color for hyperlinks in the theme color scheme.

public OfficeColor getHyperlink()
Type Description
OfficeColor

An OfficeColor value.

getLight1() Method

Returns the first light color in the theme color scheme.

Declaration

public OfficeColor getLight1()

Returns

Type Description
OfficeColor

An OfficeColor value.

Remarks

This color is typically used for backgrounds.

getLight2() Method

Returns the second light color in the theme color scheme.

Declaration

public OfficeColor getLight2()

Returns

Type Description
OfficeColor

An OfficeColor value.

Remarks

This color is typically used for secondary backgrounds.

getName() Method

Returns the color scheme name.

Declaration

public String getName()

Returns

Type Description
String

A color scheme name.

setAccent1(OfficeColor value) Method

Sets the first accent color in the theme color scheme.

Declaration

public void setAccent1(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

setAccent2(OfficeColor value) Method

Sets the second accent color in the theme color scheme.

Declaration

public void setAccent2(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

setAccent3(OfficeColor value) Method

Sets the third accent color in the theme color scheme.

Declaration

public void setAccent3(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

setAccent4(OfficeColor value) Method

Sets the fourth accent color in the theme color scheme.

Declaration

public void setAccent4(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

setAccent5(OfficeColor value) Method

Sets the fifth accent color in the theme color scheme.

Declaration

public void setAccent5(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

setAccent6(OfficeColor value) Method

Sets the sixth accent color in the theme color scheme.

Declaration

public void setAccent6(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

setDark1(OfficeColor value) Method

Sets the first dark color in the theme color scheme.

Declaration

public void setDark1(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

Remarks

This color is typically used for text or foreground elements.

setDark2(OfficeColor value) Method

Sets the second dark color in the theme color scheme.

Declaration

public void setDark2(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

Remarks

This color is typically used for secondary text or foreground elements.

Sets the color for visited (followed) hyperlinks in the theme color scheme.

public void setFollowedHyperlink(OfficeColor value)
Name Type Description
value OfficeColor

An OfficeColor value.

Sets the color for hyperlinks in the theme color scheme.

public void setHyperlink(OfficeColor value)
Name Type Description
value OfficeColor

An OfficeColor value.

setLight1(OfficeColor value) Method

Sets the first light color in the theme color scheme.

Declaration

public void setLight1(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

Remarks

This color is typically used for backgrounds.

setLight2(OfficeColor value) Method

Sets the second light color in the theme color scheme.

Declaration

public void setLight2(OfficeColor value)

Parameters

Name Type Description
value OfficeColor

An OfficeColor value.

Remarks

This color is typically used for secondary backgrounds.

setName(String value) Method

Sets the color scheme name.

Declaration

public void setName(String value)

Parameters

Name Type Description
value String

A color scheme name.