|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ezware.dialog.task.design.DefaultContentDesign
public class DefaultContentDesign
| Field Summary |
|---|
| Fields inherited from interface com.ezware.dialog.task.IContentDesign |
|---|
COLOR_INSTRUCTION_FOREGROUND, COLOR_MESSAGE_BACKGROUND, FONT_INSTRUCTION, FONT_TEXT, ICON_COMMAND_LINK, ICON_FEWER_DETAILS, ICON_MORE_DETAILS, TEXT_FEWER_DETAILS, TEXT_MORE_DETAILS |
| Constructor Summary | |
|---|---|
DefaultContentDesign()
|
|
| Method Summary | |
|---|---|
TaskDialogContent |
buildContent()
Builds and returns contents of task dialog |
protected net.miginfocom.swing.MigLayout |
createMigLayout(java.lang.String layoutConstraints)
|
protected net.miginfocom.swing.MigLayout |
createMigLayout(java.lang.String layoutConstraints,
java.lang.String colConstraints,
java.lang.String rowConstraints)
|
protected static java.lang.Object |
createResourceIcon(java.lang.String name)
Creates icon from the image file |
protected java.lang.Object |
deriveFont(java.lang.String name,
java.lang.Integer style,
float sizeFactor)
Derives font from UIDefaults resource |
ICommandLinkPainter |
getCommandLinkPainter()
Returns command link painter |
boolean |
isCommandButtonSizeLocked()
Returns true if command buttons are locked ( should have the same size ) |
void |
updateUIDefaults()
Updates UIDefaults with appropriate design settings |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultContentDesign()
| Method Detail |
|---|
public void updateUIDefaults()
IContentDesign
updateUIDefaults in interface IContentDesignpublic TaskDialogContent buildContent()
IContentDesign
buildContent in interface IContentDesignpublic boolean isCommandButtonSizeLocked()
IContentDesign
isCommandButtonSizeLocked in interface IContentDesignprotected net.miginfocom.swing.MigLayout createMigLayout(java.lang.String layoutConstraints)
protected net.miginfocom.swing.MigLayout createMigLayout(java.lang.String layoutConstraints,
java.lang.String colConstraints,
java.lang.String rowConstraints)
public ICommandLinkPainter getCommandLinkPainter()
IContentDesign
getCommandLinkPainter in interface IContentDesignprotected static final java.lang.Object createResourceIcon(java.lang.String name)
name -
protected final java.lang.Object deriveFont(java.lang.String name,
java.lang.Integer style,
float sizeFactor)
name - resource namestyle - font style, if null resource's style is usedsizeFactor -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||