|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.markup.ContainerInfo
public class ContainerInfo
Because Component has a reference to its parents, which eventually is the Page, keeping a "copy" of a component is very expensive. ContainerInfo shall be used instead of MarkupContainer whenever a small subset of the container's information is required.
Constructor Summary | |
---|---|
ContainerInfo(Class<?> containerClass,
Locale locale,
String style,
String variation,
MarkupType markupType)
Construct. |
|
ContainerInfo(Class<?> containerClass,
MarkupContainer container)
Construct. |
|
ContainerInfo(MarkupContainer container)
Construct. |
Method Summary | |
---|---|
Class<?> |
getContainerClass()
|
String |
getFileExtension()
|
Locale |
getLocale()
|
String |
getStyle()
|
String |
getVariation()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ContainerInfo(MarkupContainer container)
container
- The container to create the information frompublic ContainerInfo(Class<?> containerClass, MarkupContainer container)
containerClass
- the real container class (could be a parent class)container
- The container to create the information frompublic ContainerInfo(Class<?> containerClass, Locale locale, String style, String variation, MarkupType markupType)
containerClass
- locale
- style
- variation
- markupType
- Method Detail |
---|
public Class<?> getContainerClass()
public String getFileExtension()
public Locale getLocale()
public String getStyle()
public String getVariation()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |