oracle.adfnmc.component.ui
Class PanelFormLayout
java.lang.Object
oracle.adfnmc.component.Component
oracle.adfnmc.component.ui.RenderableComponent
oracle.adfnmc.component.ui.Control
oracle.adfnmc.component.ui.Container
oracle.adfnmc.component.ui.BasicContainer
oracle.adfnmc.component.ui.PanelFormLayout
- All Implemented Interfaces:
- RefreshablePropertyObjectOwner, ITestableComponent
- Direct Known Subclasses:
- BBPanelFormLayout
public abstract class PanelFormLayout
- extends BasicContainer
Fields inherited from class oracle.adfnmc.component.ui.Control |
bound, cloned, container, DEFAULT_BACKGROUNDCOLOR, DEFAULT_BOTTOM, DEFAULT_FOCUSED, DEFAULT_HEIGHT, DEFAULT_HEIGHT_STRING, DEFAULT_LEFT, DEFAULT_RIGHT, DEFAULT_TOP, DEFAULT_WIDTH, DEFAULT_WIDTH_STRING, embedded, has_x, has_y, m_alignProperty, m_availableHeight, m_availableWidth, m_backgroundColorProperty, m_cmpImpl, m_cookie, m_hasAlign, m_hasBackgroundColor, m_hasHeight, m_hasVerticalAlign, m_hasWidth, m_heightProperty, m_isClipped, m_isDirty, m_isHeightPercentage, m_isWidthPercentage, m_menuControls, m_multiRowContainerParent, m_tabstop, m_verticalAlignProperty, m_widthProperty, m_x, m_y, rownum |
Fields inherited from class oracle.adfnmc.component.Component |
CLASS_INSTANCE, m_attributes, m_elContext, m_exprfactory, m_formatMethod, m_id, m_initialized, m_parent, m_pattern, m_props, m_screen, m_theApp, refreshableProperties |
Method Summary |
protected void |
backgroundColorChanged(Control key,
java.lang.String value)
|
protected int |
calculateActualHeight(int controlHeight,
int availableHeight)
|
protected int |
calculateActualWidth(int controlWidth,
int availableWidth)
|
protected void |
calculateColumnWidths()
|
protected abstract OutputText |
createLabelNative()
|
void |
endInit()
|
protected void |
endInitRenderableProperties(boolean isRendered)
|
int |
getColumnMargin()
|
boolean |
getDefaultFocusable()
|
int |
getFieldWidth()
|
boolean |
getFocusableNative()
|
java.lang.String |
getLabelAlignment()
|
java.lang.String |
getLabelFontColor()
|
java.lang.String |
getLabelFontFamily()
|
int |
getLabelFontSize()
|
java.lang.String |
getLabelFontStyle()
|
protected OutputText |
getLabelFromKey(Control key)
|
java.lang.String |
getLabelNative(Control key,
java.lang.String value)
|
int |
getLabelWidth()
|
protected abstract java.lang.Object |
getNativeChild(int index)
|
protected abstract int |
getNativeChildCount()
|
protected abstract int |
getNativeChildHeight(java.lang.Object child)
|
protected abstract int |
getNativeChildWidth(java.lang.Object child)
|
java.lang.Object |
getValue()
|
protected void |
handleRenderedChange()
|
protected abstract void |
paintBackgroundArea(java.lang.Object gc,
Color color,
int x,
int y,
int width,
int height)
|
protected void |
paintBackgroundCommon(java.lang.Object gc)
|
protected void |
renderLabels(java.lang.Object innerControl)
|
void |
setColumnMargin(int columnMargin)
|
protected void |
setColumnMargin(java.lang.Object source,
int maxLength)
|
abstract void |
setColumnMarginNative(int columnMargin)
|
abstract void |
setFieldWidthNative(int fieldWidth)
|
void |
setFocusableNative(boolean val)
|
abstract void |
setLabelAlignmentNative(java.lang.String alignment)
|
abstract void |
setLabelFontColorNative(java.lang.String labelFontColor)
|
abstract void |
setLabelFontFamilyNative(java.lang.String labelFontFamily)
|
abstract void |
setLabelFontSizeNative(int labelFontSize)
|
abstract void |
setLabelFontStyleNative(java.lang.String labelFontStyle)
|
void |
setLabelNative(Control key,
java.lang.String value)
|
abstract void |
setLabelWidthNative(int labelWidth)
|
protected void |
setRenderProperties()
|
void |
setValue(java.lang.Object a,
java.lang.Object b)
|
protected boolean |
shouldOverrideLabelHeight(java.lang.Object nativeControl)
|
Methods inherited from class oracle.adfnmc.component.ui.BasicContainer |
getDisabled, getFocusable, getVisible, getVisibleNative, setDisabled, setDisabled, setDisabledNative, setFocusable, setFocusable, setValue, setVisible, setVisible, setVisibleNative |
Methods inherited from class oracle.adfnmc.component.ui.Container |
_addChild, _removeChild, addChild, addChild, bindMenus, containsId, dump, dump, dumpAllData, endInitChildren, getAllDataValues, getChildById, getChildren, getComponentById, getCurrentFocus, getCurrentFocus, getDecorationHeight, getDecorationWidth, getIntraFieldSpacing, refreshProperties, removeChild, removeChild, renderChildren, renderedChangedNative, setEmbedded, setMultiRowContainerParent, setRowNum, shiftRowNum, UICloneImpl |
Methods inherited from class oracle.adfnmc.component.ui.Control |
addChild, addPropertyList, backgroundColorChanged, clipHeight, clipWidth, determineAvailableSpace, disposeProperties, endInitRendered, focusableChanged, gainedFocus, getAlign, getAlignNative, getAvailableHeight, getAvailableWidth, getBackgroundColor, getBackgroundColorNative, getBottom, getBottomNative, getControlDepth, getCookie, getDefaultFontFamily, getDefaultFontSize, getDefaultFontStyle, getEmbedded, getFocused, getFocusedNative, getHeight, getHeightNative, getLeft, getLeftNative, getMultiRowContainer, getNativeUiComponent, getParentHeightRecursively, getParentWidthRecursively, getRight, getRightNative, getRowNum, getTop, getTopNative, getVerticalAlign, getVerticalAlignNative, getWidth, getWidthNative, hasAlign, hasBackgroundColor, hasForegroundColor, hasHeight, hasLocation, hasVerticalAlign, hasWidth, inheritBackgroundColor, initCoreUIData, initGeometryData, isAllowedToReceiveFocus, isEmbeddedAndSelected, isLabeled, isNativeUiComponent, isNotRenderable, isWidthPercentage, markDirty, refreshUI, removeFromNativeParent, render, renderNative, setAlign, setAlign, setAlignNative, setBackgroundColor, setBackgroundColor, setBackgroundColorNative, setContainer, setCookie, setFocus, setHeight, setHeight, setHeightNative, setParent, setVerticalAlign, setVerticalAlign, setVerticalAlignNative, setWidth, setWidth, setWidthNative, shouldUseParentBackgroundColor, toString, UIClone, updateBackgroundColorNative |
Methods inherited from class oracle.adfnmc.component.Component |
addChild, addChild, beginInit, buildValueExpression, dump, dumpProps, dumpProps, dumpPropsBuffer, getDataValues, getId, getParent, getProps, getScreen, propertyInstanceCreated, setChild, setChild, setId, setProp, setScreen, toFormattedString, updateRenderer |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_labelsVector
protected java.util.Vector m_labelsVector
m_hasFieldWidth
protected boolean m_hasFieldWidth
m_hasLabelWidth
protected boolean m_hasLabelWidth
m_fieldWidthProperty
protected StringProperty m_fieldWidthProperty
m_labelWidthProperty
protected StringProperty m_labelWidthProperty
m_labelAlignmentProperty
protected StringProperty m_labelAlignmentProperty
m_labelFontColorProperty
protected StringProperty m_labelFontColorProperty
m_labelFontStyleProperty
protected StringProperty m_labelFontStyleProperty
m_labelFontSizeProperty
protected IntegerProperty m_labelFontSizeProperty
m_labelFontFamilyProperty
protected StringProperty m_labelFontFamilyProperty
m_columnMarginProperty
protected IntegerProperty m_columnMarginProperty
m_isFieldWidthPercentage
protected boolean m_isFieldWidthPercentage
m_isLabelWidthPercentage
protected boolean m_isLabelWidthPercentage
m_beforeRenderedState
protected boolean m_beforeRenderedState
m_measureFieldWidth
protected boolean m_measureFieldWidth
DEFAULT_FIELD_WIDTH
protected static final int DEFAULT_FIELD_WIDTH
- See Also:
- Constant Field Values
DEFAULT_LABEL_WIDTH
protected static final int DEFAULT_LABEL_WIDTH
- See Also:
- Constant Field Values
DEFAULT_COLUMN_MARGIN
protected static final int DEFAULT_COLUMN_MARGIN
- See Also:
- Constant Field Values
LABEL_ALIGNMENT_START_NAME
protected static final java.lang.String LABEL_ALIGNMENT_START_NAME
- See Also:
- Constant Field Values
LABEL_ALIGNMENT_TOP_NAME
protected static final java.lang.String LABEL_ALIGNMENT_TOP_NAME
- See Also:
- Constant Field Values
DEFAULT_LABEL_ALIGNMENT
protected static final java.lang.String DEFAULT_LABEL_ALIGNMENT
- See Also:
- Constant Field Values
DEFAULT_LABEL_FONT_COLOR
protected static final java.lang.String DEFAULT_LABEL_FONT_COLOR
- See Also:
- Constant Field Values
layoutLabelWidth
protected int layoutLabelWidth
layoutFieldWidth
protected int layoutFieldWidth
layoutColumnMargin
protected int layoutColumnMargin
PanelFormLayout
public PanelFormLayout()
setRenderProperties
protected void setRenderProperties()
- Overrides:
setRenderProperties
in class BasicContainer
endInitRenderableProperties
protected void endInitRenderableProperties(boolean isRendered)
- Overrides:
endInitRenderableProperties
in class BasicContainer
endInit
public void endInit()
- Overrides:
endInit
in class BasicContainer
calculateColumnWidths
protected void calculateColumnWidths()
getFieldWidth
public int getFieldWidth()
getLabelWidth
public int getLabelWidth()
getLabelAlignment
public java.lang.String getLabelAlignment()
getLabelFontColor
public java.lang.String getLabelFontColor()
getLabelFontStyle
public java.lang.String getLabelFontStyle()
getLabelFontFamily
public java.lang.String getLabelFontFamily()
getLabelFontSize
public int getLabelFontSize()
getColumnMargin
public int getColumnMargin()
setColumnMargin
protected void setColumnMargin(java.lang.Object source,
int maxLength)
setColumnMargin
public void setColumnMargin(int columnMargin)
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in class BasicContainer
setValue
public void setValue(java.lang.Object a,
java.lang.Object b)
- Specified by:
setValue
in class BasicContainer
getDefaultFocusable
public boolean getDefaultFocusable()
- Specified by:
getDefaultFocusable
in class BasicContainer
getFocusableNative
public boolean getFocusableNative()
- Specified by:
getFocusableNative
in class BasicContainer
setFocusableNative
public void setFocusableNative(boolean val)
- Specified by:
setFocusableNative
in class BasicContainer
shouldOverrideLabelHeight
protected boolean shouldOverrideLabelHeight(java.lang.Object nativeControl)
createLabelNative
protected abstract OutputText createLabelNative()
getNativeChildCount
protected abstract int getNativeChildCount()
getNativeChild
protected abstract java.lang.Object getNativeChild(int index)
getNativeChildHeight
protected abstract int getNativeChildHeight(java.lang.Object child)
getNativeChildWidth
protected abstract int getNativeChildWidth(java.lang.Object child)
paintBackgroundArea
protected abstract void paintBackgroundArea(java.lang.Object gc,
Color color,
int x,
int y,
int width,
int height)
paintBackgroundCommon
protected void paintBackgroundCommon(java.lang.Object gc)
calculateActualWidth
protected int calculateActualWidth(int controlWidth,
int availableWidth)
calculateActualHeight
protected int calculateActualHeight(int controlHeight,
int availableHeight)
renderLabels
protected void renderLabels(java.lang.Object innerControl)
getLabelFromKey
protected OutputText getLabelFromKey(Control key)
handleRenderedChange
protected void handleRenderedChange()
- Overrides:
handleRenderedChange
in class Container
backgroundColorChanged
protected void backgroundColorChanged(Control key,
java.lang.String value)
setFieldWidthNative
public abstract void setFieldWidthNative(int fieldWidth)
setLabelWidthNative
public abstract void setLabelWidthNative(int labelWidth)
setLabelNative
public void setLabelNative(Control key,
java.lang.String value)
getLabelNative
public java.lang.String getLabelNative(Control key,
java.lang.String value)
setLabelAlignmentNative
public abstract void setLabelAlignmentNative(java.lang.String alignment)
setLabelFontColorNative
public abstract void setLabelFontColorNative(java.lang.String labelFontColor)
setLabelFontStyleNative
public abstract void setLabelFontStyleNative(java.lang.String labelFontStyle)
setLabelFontFamilyNative
public abstract void setLabelFontFamilyNative(java.lang.String labelFontFamily)
setLabelFontSizeNative
public abstract void setLabelFontSizeNative(int labelFontSize)
setColumnMarginNative
public abstract void setColumnMarginNative(int columnMargin)
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.