| Modifier and Type | Field and Description |
|---|---|
| private boolean | isVisible
Set to true if the component is visible. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public float | getMaximumSpan(int axis)
Overrides javax. Determines the maximum span for this view along an axis. |
| public float | getMinimumSpan(int axis)
Overrides javax. Determines the minimum span for this view along an axis. |
| public float | getPreferredSpan(int axis)
Overrides javax. Determines the preferred span for this view along an axis. |
| public boolean | Returns: true if the Component is visible.Overrides javax. Returns a boolean that indicates whether the view is visible or not. |
| public void | paint(Graphics g, Shape allocation)
Overrides javax. The real paint behavior occurs naturally from the association that the component has with its parent container (the same container hosting this view). |
| public void | setParent(View parent)
Overrides javax. Sets the parent for a child view. |
| isVisible | back to summary |
|---|---|
| private boolean isVisible Set to true if the component is visible. This is based off the editability of the container. | |
| EditableView | back to summary |
|---|---|
| pack-priv EditableView(Element e) | |
| getMaximumSpan | back to summary |
|---|---|
| public float getMaximumSpan(int axis) Overrides javax. Doc from javax. Determines the maximum span for this view along an axis. This is implemented to return the value returned by Component.getMaximumSize along the axis of interest. | |
| getMinimumSpan | back to summary |
|---|---|
| public float getMinimumSpan(int axis) Overrides javax. Doc from javax. Determines the minimum span for this view along an axis. This is implemented to return the value returned by Component.getMinimumSize along the axis of interest. | |
| getPreferredSpan | back to summary |
|---|---|
| public float getPreferredSpan(int axis) Overrides javax. Doc from javax. Determines the preferred span for this view along an axis. This is implemented to return the value returned by Component.getPreferredSize along the axis of interest. | |
| isVisible | back to summary |
|---|---|
| public boolean isVisible() Overrides javax. Doc from javax. Returns a boolean that indicates whether the view is visible or not. By default all views are visible.
| |
| paint | back to summary |
|---|---|
| public void paint(Graphics g, Shape allocation) Overrides javax. Doc from javax. The real paint behavior occurs naturally from the association that the component has with its parent container (the same container hosting this view). This is implemented to do nothing. | |
| setParent | back to summary |
|---|---|
| public void setParent(View parent) Overrides javax. Doc from javax. Sets the parent for a child view.
The parent calls this on the child to tell it who its
parent is, giving the view access to things like
the hosting Container. The superclass behavior is
executed, followed by a call to createComponent if
the parent view parameter is non-null and a component
has not yet been created. The embedded components parent
is then set to the value returned by The changing of the component hierarchy will touch the component lock, which is the one thing that is not safe from the View hierarchy. Therefore, this functionality is executed immediately if on the event thread, or is queued on the event queue if called from another thread (notification of change from an asynchronous update). | |