/// <summary> /// Indicates whether a component would accept an import of the given /// set of data flavors prior to actually attempting to import it. /// </summary> public bool canImport(JComponent @comp, DataFlavor[] @transferFlavors) { return default(bool); }
/// <summary> /// Causes the Swing drag support to be initiated. /// </summary> public void exportAsDrag(JComponent @comp, InputEvent @e, int @action) { }
/// <summary> /// Convenience method to change the UI InputMap for <code>component</code> /// to <code>uiInputMap</code>. /// </summary> static public void replaceUIInputMap(JComponent @component, int @type, InputMap @uiInputMap) { }
/// <summary> /// Gets the layer property for a JComponent, it /// does not cause any side effects like setLayer(). /// </summary> static public int getLayer(JComponent @c) { return default(int); }
/// <summary> /// Returns the ActionMap provided by the UI /// in component <code>component</code>. /// </summary> public ActionMap getUIActionMap(JComponent @component) { return default(ActionMap); }
/// <summary> /// Compute and return the location of the icons origin, the /// location of origin of the text baseline, and a possibly clipped /// version of the compound labels string. /// </summary> public string layoutCompoundLabel(JComponent @c, FontMetrics @fm, string @text, Icon @icon, int @verticalAlignment, int @horizontalAlignment, int @verticalTextPosition, int @horizontalTextPosition, Rectangle @viewR, Rectangle @iconR, Rectangle @textR, int @textIconGap) { return default(string); }
/// <summary> /// Returns the L&F object that renders the target component. /// </summary> static public ComponentUI getUI(JComponent @target) { return(default(ComponentUI)); }
/// <summary> /// Creates a <code>ComponentInputMap</code> associated with the /// specified component. /// </summary> public ComponentInputMap(JComponent @component) { }
/// <summary> /// Reverses configuration which was done on the specified component during /// <code>installUI</code>. /// </summary> public void uninstallUI(JComponent @c) { }
/// <summary> /// Constructs an AncestorEvent object to identify a change /// in an ancestor-component's display-status. /// </summary> public AncestorEvent(JComponent @source, int @id, Container @ancestor, Container @ancestorParent) { }
/// <summary> /// Paints the specified component appropriate for the look and feel. /// </summary> public void paint(Graphics @g, JComponent @c) { }
/// <summary> /// Returns the specified component's preferred size appropriate for /// the look and feel. /// </summary> public Dimension getPreferredSize(JComponent @c) { return default(Dimension); }
/// <summary> /// Returns the specified component's minimum size appropriate for /// the look and feel. /// </summary> public Dimension getMinimumSize(JComponent @c) { return default(Dimension); }
/// <summary> /// Causes a transfer from the given component to the /// given clipboard. /// </summary> public void exportToClipboard(JComponent @comp, Clipboard @clip, int @action) { }
/// <summary> /// Specifies the component that the tooltip describes. /// </summary> public void setComponent(JComponent @c) { }
/// <summary> /// Returns the number of accessible children in the object. /// </summary> public int getAccessibleChildrenCount(JComponent @c) { return default(int); }
/// <summary> /// Creates a ComponentInputMap from <code>keys</code>. /// </summary> static public ComponentInputMap makeComponentInputMap(JComponent @c, object[] @keys) { return default(ComponentInputMap); }
/// <summary> /// Stores the position and size of /// the inner painting area of the specified component /// in <code>r</code> and returns <code>r</code>. /// </summary> public Rectangle calculateInnerArea(JComponent @c, Rectangle @r) { return default(Rectangle); }
/// <summary> /// Convenience method for un-installing a component's default /// border on the specified component if the border is /// currently an instance of UIResource. /// </summary> static public void uninstallBorder(JComponent @c) { }
/// <summary> /// Returns the InputMap provided by the UI for condition /// <code>condition</code> in component <code>component</code>. /// </summary> public InputMap getUIInputMap(JComponent @component, int @condition) { return default(InputMap); }
/// <summary> /// Convenience method for installing a component's default Border /// object on the specified component if either the border is /// currently null or already an instance of UIResource. /// </summary> static public void installBorder(JComponent @c, string @defaultBorderName) { }
/// <summary> /// Convenience method to change the UI ActionMap for <code>component</code> /// to <code>uiActionMap</code>. /// </summary> static public void replaceUIActionMap(JComponent @component, ActionMap @uiActionMap) { }
/// <summary> /// Convenience method for initializing a components foreground /// background and font properties with values from the current /// defaults table. /// </summary> static public void installColorsAndFont(JComponent @c, string @defaultBgName, string @defaultFgName, string @defaultFontName) { }
/// <summary> /// Sets the layer property on a JComponent. /// </summary> static public void putLayer(JComponent @c, int @layer) { }
public TitledBorderStringDisplayer(JComponent component) { base.\u002Ector(); Widget.TitledBorderStringDisplayer borderStringDisplayer = this; this.component = component; }
/// <summary> /// Causes a transfer to a component from a clipboard or a /// DND drop operation. /// </summary> public bool importData(JComponent @comp, Transferable @t) { return default(bool); }
public virtual void setSelectedEditor(int selectedEditor) { if (this.selectedRootEditor == selectedEditor) return; this.selectedRootEditor = selectedEditor; for (int index = 0; index < this.rootEditors.size(); ++index) { int num = index == selectedEditor ? 1 : 0; RootEditor rootEditor = (RootEditor) this.rootEditors.get(index); if (rootEditor.isActive() && num == 0) rootEditor.setActive(false); } if (this.currentToolbar != null) { this.closeToolbar(); ((Container) this.toolbarContainer).removeAll(); this.currentToolbar = (JComponent) null; } for (int index = 0; index < this.rootEditors.size(); ++index) { int num = index == selectedEditor ? 1 : 0; RootEditor rootEditor = (RootEditor) this.rootEditors.get(index); if (!rootEditor.isActive() && num == 1) { rootEditor.setActive(true); this.setJMenuBar(this.createEditorMenubar(rootEditor)); this.currentToolbar = rootEditor.getToolbar(); if (this.currentToolbar != null) { ((Container) this.toolbarContainer).add((Component) this.currentToolbar, (object) "Center"); ((JComponent) this.toolbarContainer).setVisible(true); this.currentToolbar.setVisible(true); } else ((JComponent) this.toolbarContainer).setVisible(false); ((Component) this.getJMenuBar()).repaint(); } } }
/// <summary> /// Creates a <code>Transferable</code> to use as the source for /// a data transfer. /// </summary> public Transferable createTransferable(JComponent @c) { return default(Transferable); }
/// <summary> /// Creates an <code>ComponentUI</code> implementation for the /// specified component. /// </summary> public ComponentUI getUI(JComponent @target) { return default(ComponentUI); }
/// <summary> /// Invoked after data has been exported. /// </summary> protected void exportDone(JComponent @source, Transferable @data, int @action) { }
/// <summary> /// Returns the type of transfer actions supported by the source. /// </summary> public int getSourceActions(JComponent @c) { return default(int); }