Codota Logo
Composite.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.dspace.app.xmlui.wing.element.Composite
constructor

Best Java code snippets using org.dspace.app.xmlui.wing.element.Composite.<init> (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
StringBuilder s =
  • Codota Iconnew StringBuilder()
  • Codota Iconnew StringBuilder(32)
  • Codota IconString str;new StringBuilder(str)
  • Smart code suggestions by Codota
}
origin: org.dspace/dspace-xmlui-wing

/**
 * Add a composite input control. Composite controls are composed of multiple
 * individual input controls that combine to form a single value. Example, a
 * composite field might be used to represent a name which is broken up into
 * first and last names. In this case there would be a composite field that
 * consists of two text fields.
 * 
 * @param name
 *            (Required) a non-unique local identifier used to differentiate
 *            the element from its siblings within an interactive division.
 * @param rend
 *            (May be null) a rendering hint used to override the default
 *            display of the element.
 * @return a new composite field.
 */
public Composite addComposite(String name, String rend) throws WingException
{
  Composite composite = new Composite(context, name, rend);
  contents.add(composite);
  return composite;
}
org.dspace.app.xmlui.wing.elementComposite<init>

Javadoc

Construct a new field.

Popular methods of Composite

  • addSelect
    Add a menu input control which allows the user to select from a list of available options.
  • addText
    Add a single-line text input control.
  • addRadio
    Add a boolean input control which may be toggled by the user. Multiple radio button fields may share
  • addTextArea
    Add a multi-line text input control.
  • enableAddOperation
    Enable the add operation for this field. When this is enabled the front end will add a button to add
  • setHelp
  • setLabel
  • addCheckBox
    Add a boolean input control which may be toggled by the user. A checkbox may have several fields whi
  • addError
  • addInstance
    Add a field instance
  • enableDeleteOperation
    Enable the delete operation for this field. When this is enabled then the front end will provide a w
  • setAuthorityControlled
  • enableDeleteOperation,
  • setAuthorityControlled,
  • setAuthorityRequired,
  • setChoices,
  • setChoicesClosed,
  • setChoicesPresentation,
  • setDisabled,
  • setRequired

Popular in Java

  • Making http requests using okhttp
  • startActivity (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • setContentView (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Point (java.awt)
    A point representing a location in (x, y) coordinate space, specified in integer precision.
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now