PropContainer and returns a boolean indicating whether the content could be added to the internal set/map.
@param contentEntry
@return true if the object could be added; false otherwise
setText().
@param str String to add
@return this element modified
@throws IllegalDataException if str contains anillegal character such as a vertical tab (as determined by {@link org.jdom.Verifier#checkCharacterData})
WindowSection. If this section already contains a content with the same ID, the existing content is made active. Otherwise the new content is added to this section and made active.
This call is safe to make from any thread. The call is generally asynchronous, i.e. the call will return before the new content is displayed in the window section.
The callback parameter was added in version 1.3. @param content the content to add @param callback an optional callback that is notified on the outcome of the request; may be null
content is {@link Buffer#isImmutable immutable}.
@throws IllegalStateException If the request is not expecting any more content,or if the buffers are full and cannot be flushed.
@throws IOException if there is a problem flushing the buffers.
component represented by a unique identifier key with a title and/or icon, either of which can be null.
@param key key with which the specified content is to be associated.
@param title the title to be displayed in this content
@param icon the icon to be displayed in this content
@param component the component to be displayed when this content is selected. @return the a Content object rapresents the content added.
@see #removeContent(Content)
@see Content
@return a Content instance that rapresents the component
@since 1.0.0
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |