@ProviderType
public interface Designer
getDefaultDesign() is used.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_DESIGN_PATH
Deprecated.
since 5.8. use
getDefaultDesign() instead. |
static String |
DESIGN_HOME
Deprecated.
since 5.8.
|
static 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(String id)
Returns a design by id.
|
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,
String cellPath)
Returns the style for a given resource and cell path.
|
boolean |
hasDesign(String id)
Checks if the design with the given id exists.
|
static final String DESIGN_HOME
static final String DEFAULT_DESIGN_PATH
getDefaultDesign() instead.static final String NT_DESIGN
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(String id)
id - the design idDesign getDesign(String id)
id - id of the designDesign.getId()Style getStyle(Resource res, String cellPath)
cellPath is
null the name of the resource is used.res - the resourcecellPath - the path of the design cellnullPageManager.getContainingPage(Resource),
getDesign(Page),
Design.getStyle(String)Style getStyle(Resource res)
res - the resourcenullPageManager.getContainingPage(Resource),
getDesign(Page),
Design.getStyle(String)Copyright © 2010 - 2020 Adobe. All Rights Reserved