public interface Designer
getDefaultDesign()
is used.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_DESIGN_PATH
Deprecated.
since 5.8. use
getDefaultDesign() instead. |
static java.lang.String |
DESIGN_HOME
Deprecated.
since 5.8.
|
static java.lang.String |
NT_DESIGN
node type for design nodes.
|
Modifier and Type | Method and Description |
---|---|
Design |
getDefaultDesign()
Returns the default
Design |
Design |
getDesign(Page page)
Returns the design for the given page.
|
Design |
getDesign(java.lang.String id)
Returns a design by id.
|
java.lang.String |
getDesignPath(Page page)
Returns the path to the design of the given page.
|
Style |
getStyle(Resource res)
Returns the style for a given resource.
|
Style |
getStyle(Resource res,
java.lang.String cellPath)
Returns the style for a given resource and cell path.
|
boolean |
hasDesign(java.lang.String id)
Checks if the design with the given id exists.
|
static final java.lang.String DESIGN_HOME
static final java.lang.String DEFAULT_DESIGN_PATH
getDefaultDesign()
instead.static final java.lang.String NT_DESIGN
java.lang.String getDesignPath(Page page)
getDefaultDesign()
is returnedpage
- the pagenull
if page
is null
;Design getDesign(Page page)
page
- the page to retrieve the design from.null
if the page
is null
.boolean hasDesign(java.lang.String id)
id
- the design idDesign getDesign(java.lang.String id)
id
- id of the designDesign.getId()
Style getStyle(Resource res, java.lang.String cellPath)
cellPath
is
null
the name of the resource is used.res
- the resourcecellPath
- the path of the design cellnull
PageManager.getContainingPage(Resource)
,
getDesign(Page)
,
Design.getStyle(String)
Style getStyle(Resource res)
res
- the resourcenull
PageManager.getContainingPage(Resource)
,
getDesign(Page)
,
Design.getStyle(String)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"