|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.beans.BoundPropertyObject
com.guiseframework.event.GuiseBoundPropertyObject
com.guiseframework.model.ui.AbstractPresentationModel
public abstract class AbstractPresentationModel
An abstract implementation of presentation-related information.
| Field Summary |
|---|
| Fields inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
NO_PROPERTY_CHANGE_LISTENERS, NO_VETOABLE_CHANGE_LISTENERS |
| Fields inherited from interface com.guiseframework.model.Model |
|---|
PLAIN_TEXT_CONTENT_TYPE, XHTML_CONTENT_TYPE, XHTML_FRAGMENT_CONTENT_TYPE |
| Fields inherited from interface com.guiseframework.model.Displayable |
|---|
DISPLAYED_PROPERTY |
| Constructor Summary | |
|---|---|
AbstractPresentationModel()
Default constructor. |
|
| Method Summary | |
|---|---|
Color |
BorderLineFarColor()
Returns the border color of the line far page near border. |
Extent |
BorderLineFarExtent()
Returns the border extent of the line far page near border. |
LineStyle |
BorderLineFarStyle()
Returns the border style of the line far page near border. |
Color |
BorderLineNearColor()
Returns the border color of the line near page near border. |
Extent |
BorderLineNearExtent()
Returns the border extent of the line near page near border. |
LineStyle |
BorderLineNearStyle()
Returns the border style of the line near page near border. |
Color |
BorderPageFarColor()
Returns the border color of the line far page far border. |
Extent |
BorderPageFarExtent()
Returns the border extent of the line far page far border. |
LineStyle |
BorderPageFarStyle()
Returns the border style of the line far page far border. |
Color |
BorderPageNearColor()
Returns the border color of the line near page far border. |
Extent |
BorderPageNearExtent()
Returns the border extent of the line near page far border. |
LineStyle |
BorderPageNearStyle()
Returns the border style of the line near page far border. |
Color |
getBackgroundColor()
|
Color |
getBorderColor(Border border)
Returns the border color of the indicated border. |
Extent |
getBorderExtent(Border border)
Returns the border extent of the indicated border. |
LineStyle |
getBorderStyle(Border border)
Returns the border style of the indicated border. |
Dimensions |
getCornerArcSize(Corner corner)
Returns the arc size for the indicated corner. |
Dimensions |
getCornerLineFarPageFarArcSize()
Returns the arc size for the line far page far corner. |
Dimensions |
getCornerLineFarPageNearArcSize()
Returns the arc size for the line far page near corner. |
Dimensions |
getCornerLineNearPageFarArcSize()
Returns the arc size for the line near page far corner. |
Dimensions |
getCornerLineNearPageNearArcSize()
Returns the arc size for the line near page near corner. |
java.net.URI |
getCursor()
|
Extent |
getExtent(Flow flow)
Returns the extent of the indicated flow. |
java.util.List<java.lang.String> |
getFontFamilies()
|
Extent |
getFontSize()
|
FontStyle |
getFontStyle()
|
double |
getFontWeight()
|
java.util.List<java.lang.String> |
getLabelFontFamilies()
|
Extent |
getLabelFontSize()
|
FontStyle |
getLabelFontStyle()
|
double |
getLabelFontWeight()
|
Color |
getLabelTextColor()
|
Extent |
getLineExtent()
Returns the extent of the line flow. |
Extent |
getMarginExtent(Border border)
Returns the margin extent of the indicated border. |
Extent |
getMarginLineFarExtent()
Returns the margin extent of the line far page near border. |
Extent |
getMarginLineNearExtent()
Returns the margin extent of the line near page near border. |
Extent |
getMarginPageFarExtent()
Returns the margin extent of the line far page far border. |
Extent |
getMarginPageNearExtent()
Returns the margin extent of the line near page far border. |
double |
getOpacity()
|
Extent |
getPaddingExtent(Border border)
Returns the padding extent of the indicated border. |
Extent |
getPaddingLineFarExtent()
Returns the padding extent of the line far page near border. |
Extent |
getPaddingLineNearExtent()
Returns the padding extent of the line near page near border. |
Extent |
getPaddingPageFarExtent()
Returns the padding extent of the line far page far border. |
Extent |
getPaddingPageNearExtent()
Returns the padding extent of the line near page far border. |
Extent |
getPageExtent()
Returns the extent of the page flow. |
java.lang.String |
getStyleID()
|
Color |
getTextColor()
|
boolean |
isDisplayed()
|
boolean |
isTooltipEnabled()
|
boolean |
isVisible()
|
void |
setBackgroundColor(Color newBackgroundColor)
Sets the background color of the component. |
void |
setBorderColor(Border border,
Color newBorderColor)
Sets the border color of a given border. |
void |
setBorderColor(Color newBorderColor)
Sets the border color of all borders. |
void |
setBorderExtent(Border border,
Extent newBorderExtent)
Sets the border extent of a given border. |
void |
setBorderExtent(Extent newBorderExtent)
Sets the border extent of all borders. |
void |
setBorderLineFarColor(Color newBorderColor)
Sets the border color of the line far border. |
void |
setBorderLineFarExtent(Extent newBorderExtent)
Sets the border extent of the line far border. |
void |
setBorderLineFarStyle(LineStyle newBorderStyle)
Sets the border style of the line far border. |
void |
setBorderLineNearColor(Color newBorderColor)
Sets the border COLOR of the line near border. |
void |
setBorderLineNearExtent(Extent newBorderExtent)
Sets the border extent of the line near border. |
void |
setBorderLineNearStyle(LineStyle newBorderStyle)
Sets the border style of the line near border. |
void |
setBorderPageFarColor(Color newBorderColor)
Sets the border color of the page far border. |
void |
setBorderPageFarExtent(Extent newBorderExtent)
Sets the border extent of the page far border. |
void |
setBorderPageFarStyle(LineStyle newBorderStyle)
Sets the border style of the page far border. |
void |
setBorderPageNearColor(Color newBorderColor)
Sets the border color of the page near border. |
void |
setBorderPageNearExtent(Extent newBorderExtent)
Sets the border extent of the page near border. |
void |
setBorderPageNearStyle(LineStyle newBorderStyle)
Sets the border style of the page near border. |
void |
setBorderStyle(Border border,
LineStyle newBorderStyle)
Sets the border style of a given border. |
void |
setBorderStyle(LineStyle newBorderStyle)
Sets the border style of all borders. |
void |
setCornerArcSize(Corner corner,
Dimensions newCornerArcSize)
Sets the arc size of a given corner. |
void |
setCornerArcSize(Dimensions newCornerArcSize)
Sets the arc size of all corners. |
void |
setCornerLineFarPageFarArcSize(Dimensions newCornerArcSize)
Sets the arc size of the line far page far corner. |
void |
setCornerLineFarPageNearArcSize(Dimensions newCornerArcSize)
Sets the arc size of the line far page near corner. |
void |
setCornerLineNearPageFarArcSize(Dimensions newCornerArcSize)
Sets the arc size of the line near page far corner. |
void |
setCornerLineNearPageNearArcSize(Dimensions newCornerArcSize)
Sets the arc size of the line near page near corner. |
void |
setCursor(java.net.URI newCursor)
Sets the URI of the cursor. |
void |
setDisplayed(boolean newDisplayed)
Sets whether the component is displayed or has no representation, taking up no space. |
void |
setExtent(Flow flow,
Extent newExtent)
Sets the extent of a given flow. |
void |
setFontFamilies(java.util.List<java.lang.String> newFontFamilies)
Sets the font families of the component. |
void |
setFontSize(Extent newFontSize)
Sets the font size of the component. |
void |
setFontStyle(FontStyle newFontStyle)
Sets the style of the font. |
void |
setFontWeight(double newFontWeight)
Sets the weight of the font. |
void |
setLabelFontFamilies(java.util.List<java.lang.String> newLabelFontFamilies)
Sets the font families of the label. |
void |
setLabelFontSize(Extent newLabelFontSize)
Sets the label font size of the component. |
void |
setLabelFontStyle(FontStyle newLabelFontStyle)
Sets the style of the label font. |
void |
setLabelFontWeight(double newLabelFontWeight)
Sets the weight of the label font. |
void |
setLabelTextColor(Color newLabelTextColor)
Sets the text color of the label. |
void |
setLineExtent(Extent newExtent)
Sets the extent of the line flow. |
void |
setMarginExtent(Border border,
Extent newMarginExtent)
Sets the margin extent of a given border. |
void |
setMarginExtent(Extent newMarginExtent)
Sets the margin extent of all borders. |
void |
setMarginLineFarExtent(Extent newMarginExtent)
Sets the margin extent of the line far border. |
void |
setMarginLineNearExtent(Extent newMarginExtent)
Sets the margin extent of the line near border. |
void |
setMarginPageFarExtent(Extent newMarginExtent)
Sets the margin extent of the page far border. |
void |
setMarginPageNearExtent(Extent newMarginExtent)
Sets the margin extent of the page near border. |
void |
setOpacity(double newOpacity)
Sets the opacity of the entire component. |
void |
setPaddingExtent(Border border,
Extent newPaddingExtent)
Sets the padding extent of a given border. |
void |
setPaddingExtent(Extent newPaddingExtent)
Sets the padding extent of all borders. |
void |
setPaddingLineFarExtent(Extent newPaddingExtent)
Sets the padding extent of the line far border. |
void |
setPaddingLineNearExtent(Extent newPaddingExtent)
Sets the padding extent of the line near border. |
void |
setPaddingPageFarExtent(Extent newPaddingExtent)
Sets the padding extent of the page far border. |
void |
setPaddingPageNearExtent(Extent newPaddingExtent)
Sets the padding extent of the page near border. |
void |
setPageExtent(Extent newExtent)
Sets the extent of the page flow. |
void |
setStyleID(java.lang.String newStyleID)
Identifies the style for the component. |
void |
setTextColor(Color newTextColor)
Sets the text color of the component. |
void |
setTooltipEnabled(boolean newTooltipEnabled)
Sets whether tooltips are enabled for this component. |
void |
setVisible(boolean newVisible)
Sets whether the component is visible. |
| Methods inherited from class com.guiseframework.event.GuiseBoundPropertyObject |
|---|
getSession |
| Methods inherited from class com.globalmentor.beans.BoundPropertyObject |
|---|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, createPostponedPropertyChangeEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, getForwardPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, getPropertyChangeSupport, getRepeatPropertyChangeListener, getRepeatVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, getVetoableChangeSupport, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.guiseframework.model.ui.PresentationModel |
|---|
getSession |
| Methods inherited from interface com.globalmentor.beans.PropertyBindable |
|---|
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, hasPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface com.globalmentor.beans.PropertyConstrainable |
|---|
addVetoableChangeListener, addVetoableChangeListener, getVetoableChangeListeners, getVetoableChangeListeners, hasVetoableChangeListeners, removeVetoableChangeListener, removeVetoableChangeListener |
| Constructor Detail |
|---|
public AbstractPresentationModel()
| Method Detail |
|---|
public Color getBackgroundColor()
getBackgroundColor in interface PresentationModelnull if no background color is specified for this component.public void setBackgroundColor(Color newBackgroundColor)
setBackgroundColor in interface PresentationModelnewBackgroundColor - The background color of the component, or null if the default background color should be used.PresentationModel.BACKGROUND_COLOR_PROPERTYpublic Color getBorderColor(Border border)
getBorderColor in interface PresentationModelborder - The border for which a border color should be returned.
null if the default border color should be used.public Color BorderLineNearColor()
BorderLineNearColor in interface PresentationModelnull if the default border color should be used.public Color BorderLineFarColor()
BorderLineFarColor in interface PresentationModelnull if the default border color should be used.public Color BorderPageNearColor()
BorderPageNearColor in interface PresentationModelnull if the default border color should be used.public Color BorderPageFarColor()
BorderPageFarColor in interface PresentationModelnull if the default border color should be used.
public void setBorderColor(Border border,
Color newBorderColor)
setBorderColor in interface PresentationModelborder - The border for which the border color should be set.newBorderColor - The border color, or null if the default border color should be used.
java.lang.NullPointerException - if the given border is null.PresentationModel.BORDER_LINE_NEAR_COLOR_PROPERTY,
PresentationModel.BORDER_LINE_FAR_COLOR_PROPERTY,
PresentationModel.BORDER_PAGE_NEAR_COLOR_PROPERTY,
PresentationModel.BORDER_PAGE_FAR_COLOR_PROPERTYpublic void setBorderLineNearColor(Color newBorderColor)
setBorderLineNearColor in interface PresentationModelnewBorderColor - The border color, or null if the default border color should be used.PresentationModel.BORDER_LINE_NEAR_COLOR_PROPERTYpublic void setBorderLineFarColor(Color newBorderColor)
setBorderLineFarColor in interface PresentationModelnewBorderColor - The border color, or null if the default border color should be used.PresentationModel.BORDER_LINE_FAR_COLOR_PROPERTYpublic void setBorderPageNearColor(Color newBorderColor)
setBorderPageNearColor in interface PresentationModelnewBorderColor - The border color, or null if the default border color should be used.PresentationModel.BORDER_PAGE_NEAR_COLOR_PROPERTYpublic void setBorderPageFarColor(Color newBorderColor)
setBorderPageFarColor in interface PresentationModelnewBorderColor - The border color, or null if the default border color should be used.PresentationModel.BORDER_PAGE_FAR_COLOR_PROPERTYpublic void setBorderColor(Color newBorderColor)
setBorderColor(Border, Color) for each border.
setBorderColor in interface PresentationModelnewBorderColor - The border color, or null if the default border color should be used.PresentationModel.BORDER_LINE_NEAR_COLOR_PROPERTY,
PresentationModel.BORDER_LINE_FAR_COLOR_PROPERTY,
PresentationModel.BORDER_PAGE_NEAR_COLOR_PROPERTY,
PresentationModel.BORDER_PAGE_FAR_COLOR_PROPERTYpublic Extent getBorderExtent(Border border)
getBorderExtent in interface PresentationModelborder - The border for which a border extent should be returned.
public Extent BorderLineNearExtent()
BorderLineNearExtent in interface PresentationModelpublic Extent BorderLineFarExtent()
BorderLineFarExtent in interface PresentationModelpublic Extent BorderPageNearExtent()
BorderPageNearExtent in interface PresentationModelpublic Extent BorderPageFarExtent()
BorderPageFarExtent in interface PresentationModel
public void setBorderExtent(Border border,
Extent newBorderExtent)
setBorderExtent in interface PresentationModelborder - The border for which the border extent should be set.newBorderExtent - The border extent.
java.lang.NullPointerException - if the given border and/or border extent is null.PresentationModel.BORDER_LINE_NEAR_EXTENT_PROPERTY,
PresentationModel.BORDER_LINE_FAR_EXTENT_PROPERTY,
PresentationModel.BORDER_PAGE_NEAR_EXTENT_PROPERTY,
PresentationModel.BORDER_PAGE_FAR_EXTENT_PROPERTYpublic void setBorderLineNearExtent(Extent newBorderExtent)
setBorderLineNearExtent in interface PresentationModelnewBorderExtent - The border extent.
java.lang.NullPointerException - if the given border extent is null.PresentationModel.BORDER_LINE_NEAR_EXTENT_PROPERTYpublic void setBorderLineFarExtent(Extent newBorderExtent)
setBorderLineFarExtent in interface PresentationModelnewBorderExtent - The border extent.
java.lang.NullPointerException - if the given border extent is null.PresentationModel.BORDER_LINE_FAR_EXTENT_PROPERTYpublic void setBorderPageNearExtent(Extent newBorderExtent)
setBorderPageNearExtent in interface PresentationModelnewBorderExtent - The border extent.
java.lang.NullPointerException - if the given border extent is null.PresentationModel.BORDER_PAGE_NEAR_EXTENT_PROPERTYpublic void setBorderPageFarExtent(Extent newBorderExtent)
setBorderPageFarExtent in interface PresentationModelnewBorderExtent - The border extent.
java.lang.NullPointerException - if the given border extent is null.PresentationModel.BORDER_PAGE_FAR_EXTENT_PROPERTYpublic void setBorderExtent(Extent newBorderExtent)
setBorderExtent(Border, Extent) for each border.
setBorderExtent in interface PresentationModelnewBorderExtent - The border extent.
java.lang.NullPointerException - if the given border extent is null.PresentationModel.BORDER_LINE_NEAR_EXTENT_PROPERTY,
PresentationModel.BORDER_LINE_FAR_EXTENT_PROPERTY,
PresentationModel.BORDER_PAGE_NEAR_EXTENT_PROPERTY,
PresentationModel.BORDER_PAGE_FAR_EXTENT_PROPERTYpublic LineStyle getBorderStyle(Border border)
getBorderStyle in interface PresentationModelborder - The border for which a border style should be returned.
public LineStyle BorderLineNearStyle()
BorderLineNearStyle in interface PresentationModelpublic LineStyle BorderLineFarStyle()
BorderLineFarStyle in interface PresentationModelpublic LineStyle BorderPageNearStyle()
BorderPageNearStyle in interface PresentationModelpublic LineStyle BorderPageFarStyle()
BorderPageFarStyle in interface PresentationModel
public void setBorderStyle(Border border,
LineStyle newBorderStyle)
setBorderStyle in interface PresentationModelborder - The border for which the border style should be set.newBorderStyle - The border style.
java.lang.NullPointerException - if the given border and/or border style is null.PresentationModel.BORDER_LINE_NEAR_STYLE_PROPERTY,
PresentationModel.BORDER_LINE_FAR_STYLE_PROPERTY,
PresentationModel.BORDER_PAGE_NEAR_STYLE_PROPERTY,
PresentationModel.BORDER_PAGE_FAR_STYLE_PROPERTYpublic void setBorderLineNearStyle(LineStyle newBorderStyle)
setBorderLineNearStyle in interface PresentationModelnewBorderStyle - The border style.
java.lang.NullPointerException - if the given border style is null.PresentationModel.BORDER_LINE_NEAR_STYLE_PROPERTYpublic void setBorderLineFarStyle(LineStyle newBorderStyle)
setBorderLineFarStyle in interface PresentationModelnewBorderStyle - The border style.
java.lang.NullPointerException - if the given border style is null.PresentationModel.BORDER_LINE_FAR_STYLE_PROPERTYpublic void setBorderPageNearStyle(LineStyle newBorderStyle)
setBorderPageNearStyle in interface PresentationModelnewBorderStyle - The border style.
java.lang.NullPointerException - if the given border style is null.PresentationModel.BORDER_PAGE_NEAR_STYLE_PROPERTYpublic void setBorderPageFarStyle(LineStyle newBorderStyle)
setBorderPageFarStyle in interface PresentationModelnewBorderStyle - The border style.
java.lang.NullPointerException - if the given border style is null.PresentationModel.BORDER_PAGE_FAR_STYLE_PROPERTYpublic void setBorderStyle(LineStyle newBorderStyle)
setBorderStyle(Border, LineStyle) for each border.
setBorderStyle in interface PresentationModelnewBorderStyle - The border style.
java.lang.NullPointerException - if the given border style is null.PresentationModel.BORDER_LINE_NEAR_STYLE_PROPERTY,
PresentationModel.BORDER_LINE_FAR_STYLE_PROPERTY,
PresentationModel.BORDER_PAGE_NEAR_STYLE_PROPERTY,
PresentationModel.BORDER_PAGE_FAR_STYLE_PROPERTYpublic Dimensions getCornerArcSize(Corner corner)
getCornerArcSize in interface PresentationModelcorner - The corner for which an arc size should be returned.
public Dimensions getCornerLineNearPageNearArcSize()
getCornerLineNearPageNearArcSize in interface PresentationModelpublic Dimensions getCornerLineFarPageNearArcSize()
getCornerLineFarPageNearArcSize in interface PresentationModelpublic Dimensions getCornerLineNearPageFarArcSize()
getCornerLineNearPageFarArcSize in interface PresentationModelpublic Dimensions getCornerLineFarPageFarArcSize()
getCornerLineFarPageFarArcSize in interface PresentationModel
public void setCornerArcSize(Corner corner,
Dimensions newCornerArcSize)
setCornerArcSize in interface PresentationModelcorner - The corner for which the arc size should be set.newCornerArcSize - The dimensions indicating the two radiuses of the corner, or dimensions of zero if the corner should not be rounded.
java.lang.NullPointerException - if the given corner and/or arc size is null.PresentationModel.CORNER_LINE_NEAR_PAGE_NEAR_ARC_SIZE_PROPERTY,
PresentationModel.CORNER_LINE_FAR_PAGE_NEAR_ARC_SIZE_PROPERTY,
PresentationModel.CORNER_LINE_NEAR_PAGE_FAR_ARC_SIZE_PROPERTY,
PresentationModel.CORNER_LINE_FAR_PAGE_FAR_ARC_SIZE_PROPERTYpublic void setCornerLineNearPageNearArcSize(Dimensions newCornerArcSize)
setCornerLineNearPageNearArcSize in interface PresentationModelnewCornerArcSize - The dimensions indicating the two radiuses of the corner, or dimensions of zero if the corner should not be rounded.
java.lang.NullPointerException - if the given size is null.PresentationModel.CORNER_LINE_NEAR_PAGE_NEAR_ARC_SIZE_PROPERTYpublic void setCornerLineFarPageNearArcSize(Dimensions newCornerArcSize)
setCornerLineFarPageNearArcSize in interface PresentationModelnewCornerArcSize - The dimensions indicating the two radiuses of the corner, or dimensions of zero if the corner should not be rounded.
java.lang.NullPointerException - if the given size is null.PresentationModel.CORNER_LINE_FAR_PAGE_NEAR_ARC_SIZE_PROPERTYpublic void setCornerLineNearPageFarArcSize(Dimensions newCornerArcSize)
setCornerLineNearPageFarArcSize in interface PresentationModelnewCornerArcSize - The dimensions indicating the two radiuses of the corner, or dimensions of zero if the corner should not be rounded.
java.lang.NullPointerException - if the given size is null.PresentationModel.CORNER_LINE_NEAR_PAGE_FAR_ARC_SIZE_PROPERTYpublic void setCornerLineFarPageFarArcSize(Dimensions newCornerArcSize)
setCornerLineFarPageFarArcSize in interface PresentationModelnewCornerArcSize - The dimensions indicating the two radiuses of the corner, or dimensions of zero if the corner should not be rounded.
java.lang.NullPointerException - if the given size is null.PresentationModel.CORNER_LINE_FAR_PAGE_FAR_ARC_SIZE_PROPERTYpublic void setCornerArcSize(Dimensions newCornerArcSize)
setCornerArcSize(Corner, Dimensions) for each corner.
setCornerArcSize in interface PresentationModelnewCornerArcSize - The dimensions indicating the two radiuses of the corners, or dimensions of zero if the corners should not be rounded.
java.lang.NullPointerException - if the given arc size is null.PresentationModel.CORNER_LINE_NEAR_PAGE_NEAR_ARC_SIZE_PROPERTY,
PresentationModel.CORNER_LINE_FAR_PAGE_NEAR_ARC_SIZE_PROPERTY,
PresentationModel.CORNER_LINE_NEAR_PAGE_FAR_ARC_SIZE_PROPERTY,
PresentationModel.CORNER_LINE_FAR_PAGE_FAR_ARC_SIZE_PROPERTYpublic java.net.URI getCursor()
getCursor in interface PresentationModelpublic void setCursor(java.net.URI newCursor)
setCursor in interface PresentationModelnewCursor - The new URI of the cursor, which may be a resource URI.
java.lang.NullPointerException - if the given cursor URI is null.PresentationModel.CURSOR_PROPERTYpublic Extent getExtent(Flow flow)
getExtent in interface PresentationModelflow - The flow for which an extent should be returned.
public Extent getLineExtent()
getLineExtent in interface PresentationModelnull if no preferred extent has been specifiedpublic Extent getPageExtent()
getPageExtent in interface PresentationModelnull if no preferred extent has been specified
public void setExtent(Flow flow,
Extent newExtent)
setExtent in interface PresentationModelflow - The flow for which the extent should be set.newExtent - The new requested extent of the component, or null there is no extent preference.
java.lang.NullPointerException - if the given flow is null.PresentationModel.LINE_EXTENT_PROPERTY,
PresentationModel.PAGE_EXTENT_PROPERTYpublic void setLineExtent(Extent newExtent)
setLineExtent in interface PresentationModelnewExtent - The new requested extent of the component, or null there is no extent preference.PresentationModel.LINE_EXTENT_PROPERTYpublic void setPageExtent(Extent newExtent)
setPageExtent in interface PresentationModelnewExtent - The new requested extent of the component, or null there is no extent preference.PresentationModel.PAGE_EXTENT_PROPERTYpublic java.util.List<java.lang.String> getFontFamilies()
getFontFamilies in interface PresentationModelnull if no font family names have been specified.public void setFontFamilies(java.util.List<java.lang.String> newFontFamilies)
setFontFamilies in interface PresentationModelnewFontFamilies - The new prioritized list of font family names, or null if no font family names are specified.PresentationModel.FONT_FAMILIES_PROPERTYpublic Extent getFontSize()
getFontSize in interface PresentationModelnull if no font size has been specified.public void setFontSize(Extent newFontSize)
setFontSize in interface PresentationModelnewFontSize - The new size of the font from baseline to baseline, or null there is no font size specified.PresentationModel.FONT_SIZE_PROPERTYpublic FontStyle getFontStyle()
getFontStyle in interface PresentationModelpublic void setFontStyle(FontStyle newFontStyle)
setFontStyle in interface PresentationModelnewFontStyle - The style of the font.
java.lang.NullPointerException - if the given font style is null.PresentationModel.FONT_STYLE_PROPERTYpublic double getFontWeight()
getFontWeight in interface PresentationModelpublic void setFontWeight(double newFontWeight)
PresentationModel.FONT_WEIGHT_NORMAL and PresentationModel.FONT_WEIGHT_BOLD be used for the most compatibility across platforms.
This is a bound property of type Double.
setFontWeight in interface PresentationModelnewFontWeight - The weight of the font relative to a normal value of 0.5.PresentationModel.FONT_WEIGHT_PROPERTY,
PresentationModel.FONT_WEIGHT_NORMAL,
PresentationModel.FONT_WEIGHT_BOLDpublic java.util.List<java.lang.String> getLabelFontFamilies()
getLabelFontFamilies in interface PresentationModelnull if no label font family names have been specified.public void setLabelFontFamilies(java.util.List<java.lang.String> newLabelFontFamilies)
setLabelFontFamilies in interface PresentationModelnewLabelFontFamilies - The new prioritized list of label font family names, or null if no label font family names are specified.PresentationModel.LABEL_FONT_FAMILIES_PROPERTYpublic Extent getLabelFontSize()
getLabelFontSize in interface PresentationModelnull if no label font size has been specified.public void setLabelFontSize(Extent newLabelFontSize)
setLabelFontSize in interface PresentationModelnewLabelFontSize - The new size of the label font from baseline to baseline, or null there is no label font size specified.PresentationModel.LABEL_FONT_SIZE_PROPERTYpublic FontStyle getLabelFontStyle()
getLabelFontStyle in interface PresentationModelpublic void setLabelFontStyle(FontStyle newLabelFontStyle)
setLabelFontStyle in interface PresentationModelnewLabelFontStyle - The style of the label font.
java.lang.NullPointerException - if the given label font style is null.PresentationModel.LABEL_FONT_STYLE_PROPERTYpublic double getLabelFontWeight()
getLabelFontWeight in interface PresentationModelpublic void setLabelFontWeight(double newLabelFontWeight)
PresentationModel.FONT_WEIGHT_NORMAL and PresentationModel.FONT_WEIGHT_BOLD be used for the most compatibility across platforms.
This is a bound property of type Double.
setLabelFontWeight in interface PresentationModelnewLabelFontWeight - The weight of the label font relative to a normal value of 0.5.PresentationModel.FONT_WEIGHT_PROPERTY,
PresentationModel.FONT_WEIGHT_NORMAL,
PresentationModel.FONT_WEIGHT_BOLDpublic Color getLabelTextColor()
getLabelTextColor in interface PresentationModelnull if no text color is specified for the label.public void setLabelTextColor(Color newLabelTextColor)
setLabelTextColor in interface PresentationModelnewLabelTextColor - The text color of the label, or null if the default text color should be used.PresentationModel.LABEL_TEXT_COLOR_PROPERTYpublic Extent getMarginExtent(Border border)
getMarginExtent in interface PresentationModelborder - The border for which a margin extent should be returned.
public Extent getMarginLineNearExtent()
getMarginLineNearExtent in interface PresentationModelpublic Extent getMarginLineFarExtent()
getMarginLineFarExtent in interface PresentationModelpublic Extent getMarginPageNearExtent()
getMarginPageNearExtent in interface PresentationModelpublic Extent getMarginPageFarExtent()
getMarginPageFarExtent in interface PresentationModel
public void setMarginExtent(Border border,
Extent newMarginExtent)
setMarginExtent in interface PresentationModelborder - The border for which the margin extent should be set.newMarginExtent - The margin extent.
java.lang.NullPointerException - if the given border and/or margin extent is null.PresentationModel.MARGIN_LINE_NEAR_EXTENT_PROPERTY,
PresentationModel.MARGIN_LINE_FAR_EXTENT_PROPERTY,
PresentationModel.MARGIN_PAGE_NEAR_EXTENT_PROPERTY,
PresentationModel.MARGIN_PAGE_FAR_EXTENT_PROPERTYpublic void setMarginLineNearExtent(Extent newMarginExtent)
setMarginLineNearExtent in interface PresentationModelnewMarginExtent - The margin extent.
java.lang.NullPointerException - if the given margin extent is null.PresentationModel.MARGIN_LINE_NEAR_EXTENT_PROPERTYpublic void setMarginLineFarExtent(Extent newMarginExtent)
setMarginLineFarExtent in interface PresentationModelnewMarginExtent - The margin extent, or null if the default margin extent should be used.
java.lang.NullPointerException - if the given margin extent is null.PresentationModel.MARGIN_LINE_FAR_EXTENT_PROPERTYpublic void setMarginPageNearExtent(Extent newMarginExtent)
setMarginPageNearExtent in interface PresentationModelnewMarginExtent - The margin extent, or null if the default margin extent should be used.
java.lang.NullPointerException - if the given margin extent is null.PresentationModel.MARGIN_PAGE_NEAR_EXTENT_PROPERTYpublic void setMarginPageFarExtent(Extent newMarginExtent)
setMarginPageFarExtent in interface PresentationModelnewMarginExtent - The margin extent, or null if the default margin extent should be used.
java.lang.NullPointerException - if the given margin extent is null.PresentationModel.MARGIN_PAGE_FAR_EXTENT_PROPERTYpublic void setMarginExtent(Extent newMarginExtent)
setMarginExtent(Border, Extent) for each border.
setMarginExtent in interface PresentationModelnewMarginExtent - The margin extent.
java.lang.NullPointerException - if the given margin extent is null.PresentationModel.MARGIN_LINE_NEAR_EXTENT_PROPERTY,
PresentationModel.MARGIN_LINE_FAR_EXTENT_PROPERTY,
PresentationModel.MARGIN_PAGE_NEAR_EXTENT_PROPERTY,
PresentationModel.MARGIN_PAGE_FAR_EXTENT_PROPERTYpublic double getOpacity()
getOpacity in interface PresentationModelpublic void setOpacity(double newOpacity)
Double.
setOpacity in interface PresentationModelnewOpacity - The new opacity of the entire component in the range (0.0-1.0).
java.lang.IllegalArgumentException - if the given opacity is not within the range (0.0-1.0).PresentationModel.OPACITY_PROPERTYpublic Extent getPaddingExtent(Border border)
getPaddingExtent in interface PresentationModelborder - The border for which a padding extent should be returned.
public Extent getPaddingLineNearExtent()
getPaddingLineNearExtent in interface PresentationModelpublic Extent getPaddingLineFarExtent()
getPaddingLineFarExtent in interface PresentationModelpublic Extent getPaddingPageNearExtent()
getPaddingPageNearExtent in interface PresentationModelpublic Extent getPaddingPageFarExtent()
getPaddingPageFarExtent in interface PresentationModel
public void setPaddingExtent(Border border,
Extent newPaddingExtent)
setPaddingExtent in interface PresentationModelborder - The border for which the padding extent should be set.newPaddingExtent - The padding extent.
java.lang.NullPointerException - if the given border and/or padding extent is null.PresentationModel.PADDING_LINE_NEAR_EXTENT_PROPERTY,
PresentationModel.PADDING_LINE_FAR_EXTENT_PROPERTY,
PresentationModel.PADDING_PAGE_NEAR_EXTENT_PROPERTY,
PresentationModel.PADDING_PAGE_FAR_EXTENT_PROPERTYpublic void setPaddingLineNearExtent(Extent newPaddingExtent)
setPaddingLineNearExtent in interface PresentationModelnewPaddingExtent - The padding extent.
java.lang.NullPointerException - if the given padding extent is null.PresentationModel.PADDING_LINE_NEAR_EXTENT_PROPERTYpublic void setPaddingLineFarExtent(Extent newPaddingExtent)
setPaddingLineFarExtent in interface PresentationModelnewPaddingExtent - The padding extent, or null if the default padding extent should be used.
java.lang.NullPointerException - if the given padding extent is null.PresentationModel.PADDING_LINE_FAR_EXTENT_PROPERTYpublic void setPaddingPageNearExtent(Extent newPaddingExtent)
setPaddingPageNearExtent in interface PresentationModelnewPaddingExtent - The padding extent, or null if the default padding extent should be used.
java.lang.NullPointerException - if the given padding extent is null.PresentationModel.PADDING_PAGE_NEAR_EXTENT_PROPERTYpublic void setPaddingPageFarExtent(Extent newPaddingExtent)
setPaddingPageFarExtent in interface PresentationModelnewPaddingExtent - The padding extent, or null if the default padding extent should be used.
java.lang.NullPointerException - if the given padding extent is null.PresentationModel.PADDING_PAGE_FAR_EXTENT_PROPERTYpublic void setPaddingExtent(Extent newPaddingExtent)
setPaddingExtent(Border, Extent) for each border.
setPaddingExtent in interface PresentationModelnewPaddingExtent - The padding extent.
java.lang.NullPointerException - if the given padding extent is null.PresentationModel.PADDING_LINE_NEAR_EXTENT_PROPERTY,
PresentationModel.PADDING_LINE_FAR_EXTENT_PROPERTY,
PresentationModel.PADDING_PAGE_NEAR_EXTENT_PROPERTY,
PresentationModel.PADDING_PAGE_FAR_EXTENT_PROPERTYpublic java.lang.String getStyleID()
getStyleID in interface PresentationModelnull if there is no style ID.public void setStyleID(java.lang.String newStyleID)
setStyleID in interface PresentationModelnewStyleID - The style identifier, or null if there is no style ID.PresentationModel.STYLE_ID_PROPERTYpublic boolean isVisible()
isVisible in interface PresentationModelisDisplayed()public void setVisible(boolean newVisible)
Boolean.
setVisible in interface PresentationModelnewVisible - true if the component should be visible, else false.PresentationModel.VISIBLE_PROPERTY,
setDisplayed(boolean)public boolean isDisplayed()
isDisplayed in interface DisplayableisDisplayed in interface PresentationModelisVisible()public void setDisplayed(boolean newDisplayed)
Boolean.
setDisplayed in interface DisplayablesetDisplayed in interface PresentationModelnewDisplayed - true if the component should be displayed, else false if the component should take up no space.Displayable.DISPLAYED_PROPERTY,
setVisible(boolean)public Color getTextColor()
getTextColor in interface PresentationModelnull if no text color is specified for this component.public void setTextColor(Color newTextColor)
setTextColor in interface PresentationModelnewTextColor - The text color of the component, or null if the default text color should be used.PresentationModel.TEXT_COLOR_PROPERTYpublic boolean isTooltipEnabled()
isTooltipEnabled in interface PresentationModelpublic void setTooltipEnabled(boolean newTooltipEnabled)
Boolean.
setTooltipEnabled in interface PresentationModelnewTooltipEnabled - true if the component should display tooltips, else false.#getInfo(),
PresentationModel.TOOLTIP_ENABLED_PROPERTY
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||