public class UIFileDrop extends AbstractUIFileDrop implements SupportsMarkup
component2.0.stg
with class
FileDropTagDeclaration
.AbstractUIFileDrop.VisibleType
Modifier and Type | Field and Description |
---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
Constructor and Description |
---|
UIFileDrop() |
Modifier and Type | Method and Description |
---|---|
javax.faces.el.MethodBinding |
getAction()
Deprecated.
since 2.0.0
|
javax.el.MethodExpression |
getActionExpression() |
javax.faces.el.MethodBinding |
getActionListener()
Deprecated.
since 2.0.0
|
javax.el.MethodExpression |
getActionListenerExpression() |
Integer |
getColumnSpan() |
Measure |
getCurrentHeight()
This value will usually be set by the layout manager.
|
Markup |
getCurrentMarkup() |
Measure |
getCurrentWidth()
This value will usually be set by the layout manager.
|
Display |
getDisplay()
This attribute is for internal use only.
|
String |
getDropZoneId()
Indicate the highlighted file drop area.
|
String |
getFamily() |
Measure |
getHeight()
This value will usually be set by the layout manager.
|
Integer |
getHorizontalIndex()
This attribute is for internal use only.
|
String |
getImage()
Url to an image to display.
|
String |
getLabel()
Text value to display as label.
|
Measure |
getLeft()
This value will usually be set by the layout manager.
|
Measure |
getMarginBottom() |
Measure |
getMarginLeft() |
Measure |
getMarginRight() |
Measure |
getMarginTop() |
Markup |
getMarkup() |
Measure |
getMaximumHeight() |
Measure |
getMaximumWidth() |
Measure |
getMinimumHeight() |
Measure |
getMinimumWidth() |
String |
getOnchange()
Deprecated.
|
Measure |
getPreferredHeight() |
Measure |
getPreferredWidth() |
String[] |
getRenderedPartially()
Indicate the partially rendered components in a case of a file drop.
|
Integer |
getRowSpan() |
Integer |
getTabIndex()
Controls the navigation of the focus through the
input controls on a page with the Tab-Key.
|
String |
getTip()
Text value to display as tooltip.
|
Measure |
getTop()
This value will usually be set by the layout manager.
|
Integer |
getVerticalIndex()
This attribute is for internal use only.
|
String |
getVisibleType()
Indicate visible component style.
|
Measure |
getWidth()
This value will usually be set by the layout manager.
|
boolean |
isDisabled()
Flag indicating that this element is disabled.
|
boolean |
isFocus()
Flag indicating this component should receive the focus.
|
boolean |
isMultiple() |
boolean |
isReadonly()
Flag indicating that this component will prohibit changes by the user.
|
Object |
saveState(javax.faces.context.FacesContext context) |
void |
setAction(javax.faces.el.MethodBinding action)
Deprecated.
since 2.0.0
|
void |
setActionExpression(javax.el.MethodExpression action) |
void |
setActionListener(javax.faces.el.MethodBinding actionListener)
Deprecated.
since 2.0.0
|
void |
setActionListenerExpression(javax.el.MethodExpression actionListener) |
void |
setColumnSpan(Integer columnSpan) |
void |
setCurrentHeight(Measure currentHeight) |
void |
setCurrentMarkup(Markup currentMarkup) |
void |
setCurrentWidth(Measure currentWidth) |
void |
setDisabled(boolean disabled) |
void |
setDisplay(Display display) |
void |
setDropZoneId(String dropZoneId) |
void |
setFocus(boolean focus) |
void |
setHeight(Measure height) |
void |
setHorizontalIndex(Integer horizontalIndex) |
void |
setImage(String image) |
void |
setLabel(String label) |
void |
setLeft(Measure left) |
void |
setMarginBottom(Measure marginBottom) |
void |
setMarginLeft(Measure marginLeft) |
void |
setMarginRight(Measure marginRight) |
void |
setMarginTop(Measure marginTop) |
void |
setMarkup(Markup markup) |
void |
setMaximumHeight(Measure maximumHeight) |
void |
setMaximumWidth(Measure maximumWidth) |
void |
setMinimumHeight(Measure minimumHeight) |
void |
setMinimumWidth(Measure minimumWidth) |
void |
setMultiple(boolean multiple) |
void |
setOnchange(String onchange)
Deprecated.
|
void |
setPreferredHeight(Measure preferredHeight) |
void |
setPreferredWidth(Measure preferredWidth) |
void |
setReadonly(boolean readonly) |
void |
setRenderedPartially(String[] renderedPartially) |
void |
setRowSpan(Integer rowSpan) |
void |
setTabIndex(Integer tabIndex) |
void |
setTip(String tip) |
void |
setTop(Measure top) |
void |
setVerticalIndex(Integer verticalIndex) |
void |
setVisibleType(String visibleType) |
void |
setWidth(Measure width) |
addActionListener, getActionListeners, removeActionListener
validate
addValidator, addValueChangeListener, broadcast, clearInitialState, compareValues, decode, getConvertedValue, getConverterMessage, getRequiredMessage, getSubmittedValue, getValidator, getValidatorMessage, getValidators, getValue, getValueChangeListener, getValueChangeListeners, isEmpty, isImmediate, isLocalValueSet, isRequired, isValid, markInitialState, processDecodes, processUpdates, processValidators, removeValidator, removeValueChangeListener, resetValue, restoreState, setConverterMessage, setImmediate, setLocalValueSet, setRequired, setRequiredMessage, setSubmittedValue, setValid, setValidator, setValidatorMessage, setValue, setValueChangeListener, updateModel, validateValue
getConverter, getLocalValue, setConverter
addClientBehavior, addFacesListener, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, processRestoreState, processSaveState, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isRendered
getRendererType
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class javax.faces.component.UIInput
public Integer getColumnSpan()
getColumnSpan
in interface LayoutComponent
public void setColumnSpan(Integer columnSpan)
setColumnSpan
in interface LayoutComponent
public Measure getPreferredWidth()
getPreferredWidth
in interface LayoutBase
public void setPreferredWidth(Measure preferredWidth)
setPreferredWidth
in interface LayoutBase
public String getVisibleType()
Indicate visible component style.
Possible values:
Default is DROP_ZONE.
getVisibleType
in class AbstractUIFileDrop
public void setVisibleType(String visibleType)
public Integer getHorizontalIndex()
getHorizontalIndex
in interface LayoutComponent
public void setHorizontalIndex(Integer horizontalIndex)
setHorizontalIndex
in interface LayoutComponent
public boolean isFocus()
false
public void setFocus(boolean focus)
public Integer getTabIndex()
getTabIndex
in class AbstractUIFile
public void setTabIndex(Integer tabIndex)
public Measure getPreferredHeight()
getPreferredHeight
in interface LayoutBase
public void setPreferredHeight(Measure preferredHeight)
setPreferredHeight
in interface LayoutBase
public Measure getMarginRight()
getMarginRight
in interface LayoutBase
public void setMarginRight(Measure marginRight)
setMarginRight
in interface LayoutBase
@Deprecated public javax.faces.el.MethodBinding getActionListener()
getActionListener
in interface javax.faces.component.ActionSource
@Deprecated public void setActionListener(javax.faces.el.MethodBinding actionListener)
setActionListener
in interface javax.faces.component.ActionSource
public javax.el.MethodExpression getActionListenerExpression()
public void setActionListenerExpression(javax.el.MethodExpression actionListener)
public boolean isReadonly()
false
isReadonly
in class AbstractUIFile
public void setReadonly(boolean readonly)
public Measure getTop()
getTop
in interface LayoutBase
public void setTop(Measure top)
setTop
in interface LayoutBase
public Measure getCurrentWidth()
getCurrentWidth
in interface LayoutBase
public void setCurrentWidth(Measure currentWidth)
setCurrentWidth
in interface LayoutBase
public Measure getMaximumWidth()
getMaximumWidth
in interface LayoutBase
public void setMaximumWidth(Measure maximumWidth)
setMaximumWidth
in interface LayoutBase
public Measure getCurrentHeight()
getCurrentHeight
in interface LayoutBase
public void setCurrentHeight(Measure currentHeight)
setCurrentHeight
in interface LayoutBase
@Deprecated public javax.faces.el.MethodBinding getAction()
getAction
in interface javax.faces.component.ActionSource
@Deprecated public void setAction(javax.faces.el.MethodBinding action)
setAction
in interface javax.faces.component.ActionSource
public javax.el.MethodExpression getActionExpression()
getActionExpression
in interface javax.faces.component.ActionSource2
public void setActionExpression(javax.el.MethodExpression action)
setActionExpression
in interface javax.faces.component.ActionSource2
public boolean isDisabled()
false
isDisabled
in class AbstractUIFile
public void setDisabled(boolean disabled)
public String getTip()
public void setTip(String tip)
public Measure getHeight()
getHeight
in interface LayoutBase
public void setHeight(Measure height)
setHeight
in interface LayoutBase
public String getDropZoneId()
Indicate the highlighted file drop area.
You should use:
getDropZoneId
in class AbstractUIFileDrop
public void setDropZoneId(String dropZoneId)
public Integer getRowSpan()
getRowSpan
in interface LayoutComponent
public void setRowSpan(Integer rowSpan)
setRowSpan
in interface LayoutComponent
public String getImage()
public void setImage(String image)
public Markup getMarkup()
getMarkup
in interface SupportsMarkup
public void setMarkup(Markup markup)
setMarkup
in interface SupportsMarkup
public Display getDisplay()
getDisplay
in interface LayoutComponent
public void setDisplay(Display display)
setDisplay
in interface LayoutComponent
public boolean isMultiple()
isMultiple
in class AbstractUIFile
public void setMultiple(boolean multiple)
@Deprecated public String getOnchange()
@Deprecated public void setOnchange(String onchange)
public Measure getMinimumHeight()
getMinimumHeight
in interface LayoutBase
public void setMinimumHeight(Measure minimumHeight)
setMinimumHeight
in interface LayoutBase
public String getLabel()
public void setLabel(String label)
public Markup getCurrentMarkup()
getCurrentMarkup
in interface SupportsMarkup
getCurrentMarkup
in interface Configurable
public void setCurrentMarkup(Markup currentMarkup)
setCurrentMarkup
in interface SupportsMarkup
public Measure getMarginLeft()
getMarginLeft
in interface LayoutBase
public void setMarginLeft(Measure marginLeft)
setMarginLeft
in interface LayoutBase
public String[] getRenderedPartially()
Indicate the partially rendered components in a case of a file drop.
The search depends on the number of prefixed colons in the relativeId:
If a literal is specified: to use more than one identifier the identifiers must be space delimited.
As default the dropZoneId is used.
getRenderedPartially
in interface SupportsRenderedPartially
public void setRenderedPartially(String[] renderedPartially)
setRenderedPartially
in interface SupportsRenderedPartially
public Measure getLeft()
getLeft
in interface LayoutBase
public void setLeft(Measure left)
setLeft
in interface LayoutBase
public Measure getWidth()
getWidth
in interface LayoutBase
public void setWidth(Measure width)
setWidth
in interface LayoutBase
public Measure getMaximumHeight()
getMaximumHeight
in interface LayoutBase
public void setMaximumHeight(Measure maximumHeight)
setMaximumHeight
in interface LayoutBase
public Measure getMarginBottom()
getMarginBottom
in interface LayoutBase
public void setMarginBottom(Measure marginBottom)
setMarginBottom
in interface LayoutBase
public Integer getVerticalIndex()
getVerticalIndex
in interface LayoutComponent
public void setVerticalIndex(Integer verticalIndex)
setVerticalIndex
in interface LayoutComponent
public Measure getMinimumWidth()
getMinimumWidth
in interface LayoutBase
public void setMinimumWidth(Measure minimumWidth)
setMinimumWidth
in interface LayoutBase
public Measure getMarginTop()
getMarginTop
in interface LayoutBase
public void setMarginTop(Measure marginTop)
setMarginTop
in interface LayoutBase
public Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class javax.faces.component.UIInput
Copyright © 2002-2018 The Apache Software Foundation. All Rights Reserved.