|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.alee.examples.content.DefaultExampleGroup
public abstract class DefaultExampleGroup
This abstract class provides additional methods for WebLaF demo example groups.
Constructor Summary | |
---|---|
DefaultExampleGroup()
|
Method Summary | |
---|---|
double |
getContentPartSize()
Returns 50% content width by default. |
FeatureState |
getFeatureGroupState()
Returns release feature state by default. |
java.awt.Color |
getPreferredForeground()
Returns black foreground by default. |
java.net.URL |
getResource(java.lang.String path)
Returns resource url. |
boolean |
isShowWatermark()
Returns true by default. |
boolean |
isSingleExample()
Returns false by default. |
javax.swing.ImageIcon |
loadGroupIcon(java.lang.String path)
Returns group image icon loaded from group icons package. |
javax.swing.ImageIcon |
loadIcon(java.lang.String path)
Returns image icon loaded from group icons package. |
void |
modifyExampleTab(int tabIndex,
WebTabbedPane tabbedPane)
Does not modify example group tab by default. |
WebSeparator |
modifySeparator(WebSeparator separator)
Does not modify example separator by default. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.alee.examples.content.ExampleGroup |
---|
getGroupDescription, getGroupExamples, getGroupIcon, getGroupName |
Constructor Detail |
---|
public DefaultExampleGroup()
Method Detail |
---|
public boolean isSingleExample()
isSingleExample
in interface ExampleGroup
public boolean isShowWatermark()
isShowWatermark
in interface ExampleGroup
public FeatureState getFeatureGroupState()
getFeatureGroupState
in interface ExampleGroup
public void modifyExampleTab(int tabIndex, WebTabbedPane tabbedPane)
modifyExampleTab
in interface ExampleGroup
tabIndex
- index of example group tabtabbedPane
- tabbed pane that contains example group tabpublic WebSeparator modifySeparator(WebSeparator separator)
modifySeparator
in interface ExampleGroup
separator
- examples separator
public java.awt.Color getPreferredForeground()
getPreferredForeground
in interface ExampleGroup
public double getContentPartSize()
getContentPartSize
in interface ExampleGroup
public javax.swing.ImageIcon loadGroupIcon(java.lang.String path)
path
- path to icon inside group icons package
public javax.swing.ImageIcon loadIcon(java.lang.String path)
path
- path to icon inside group icons package
public java.net.URL getResource(java.lang.String path)
path
- path to resource inside group resources package
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |