コード例 #1
0
		/// <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);
		}
コード例 #2
0
		/// <summary>
		/// Causes the Swing drag support to be initiated.
		/// </summary>
		public void exportAsDrag(JComponent @comp, InputEvent @e, int @action)
		{
		}
コード例 #3
0
		/// <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)
		{
		}
コード例 #4
0
		/// <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);
		}
コード例 #5
0
		/// <summary>
		/// Returns the ActionMap provided by the UI
		/// in component <code>component</code>.
		/// </summary>
		public ActionMap getUIActionMap(JComponent @component)
		{
			return default(ActionMap);
		}
コード例 #6
0
		/// <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);
		}
コード例 #7
0
 /// <summary>
 /// Returns the L&F object that renders the target component.
 /// </summary>
 static public ComponentUI getUI(JComponent @target)
 {
     return(default(ComponentUI));
 }
コード例 #8
0
		/// <summary>
		/// Creates a <code>ComponentInputMap</code> associated with the
		/// specified component.
		/// </summary>
		public ComponentInputMap(JComponent @component)
		{
		}
コード例 #9
0
		/// <summary>
		/// Reverses configuration which was done on the specified component during
		/// <code>installUI</code>.
		/// </summary>
		public void uninstallUI(JComponent @c)
		{
		}
コード例 #10
0
		/// <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)
		{
		}
コード例 #11
0
		/// <summary>
		/// Paints the specified component appropriate for the look and feel.
		/// </summary>
		public void paint(Graphics @g, JComponent @c)
		{
		}
コード例 #12
0
		/// <summary>
		/// Returns the specified component's preferred size appropriate for
		/// the look and feel.
		/// </summary>
		public Dimension getPreferredSize(JComponent @c)
		{
			return default(Dimension);
		}
コード例 #13
0
		/// <summary>
		/// Returns the specified component's minimum size appropriate for
		/// the look and feel.
		/// </summary>
		public Dimension getMinimumSize(JComponent @c)
		{
			return default(Dimension);
		}
コード例 #14
0
		/// <summary>
		/// Causes a transfer from the given component to the
		/// given clipboard.
		/// </summary>
		public void exportToClipboard(JComponent @comp, Clipboard @clip, int @action)
		{
		}
コード例 #15
0
 /// <summary>
 /// Specifies the component that the tooltip describes.
 /// </summary>
 public void setComponent(JComponent @c)
 {
 }
コード例 #16
0
		/// <summary>
		/// Returns the number of accessible children in the object.
		/// </summary>
		public int getAccessibleChildrenCount(JComponent @c)
		{
			return default(int);
		}
コード例 #17
0
		/// <summary>
		/// Creates a ComponentInputMap from <code>keys</code>.
		/// </summary>
		static public ComponentInputMap makeComponentInputMap(JComponent @c, object[] @keys)
		{
			return default(ComponentInputMap);
		}
コード例 #18
0
		/// <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);
		}
コード例 #19
0
		/// <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)
		{
		}
コード例 #20
0
		/// <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);
		}
コード例 #21
0
		/// <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)
		{
		}
コード例 #22
0
		/// <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)
		{
		}
コード例 #23
0
		/// <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)
		{
		}
コード例 #24
0
		/// <summary>
		/// Sets the layer property on a JComponent.
		/// </summary>
		static public void putLayer(JComponent @c, int @layer)
		{
		}
コード例 #25
0
ファイル: Widget.cs プロジェクト: NALSS/SmartDashboard.NET
 public TitledBorderStringDisplayer(JComponent component)
 {
   base.\u002Ector();
   Widget.TitledBorderStringDisplayer borderStringDisplayer = this;
   this.component = component;
 }
コード例 #26
0
		/// <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);
		}
コード例 #27
0
 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();
     }
   }
 }
コード例 #28
0
		/// <summary>
		/// Creates a <code>Transferable</code> to use as the source for
		/// a data transfer.
		/// </summary>
		public Transferable createTransferable(JComponent @c)
		{
			return default(Transferable);
		}
コード例 #29
0
		/// <summary>
		/// Creates an <code>ComponentUI</code> implementation for the
		/// specified component.
		/// </summary>
		public ComponentUI getUI(JComponent @target)
		{
			return default(ComponentUI);
		}
コード例 #30
0
		/// <summary>
		/// Invoked after data has been exported.
		/// </summary>
		protected void exportDone(JComponent @source, Transferable @data, int @action)
		{
		}
コード例 #31
0
		/// <summary>
		/// Specifies the component that the tooltip describes.
		/// </summary>
		public void setComponent(JComponent @c)
		{
		}
コード例 #32
0
		/// <summary>
		/// Returns the type of transfer actions supported by the source.
		/// </summary>
		public int getSourceActions(JComponent @c)
		{
			return default(int);
		}
コード例 #33
0
 /// <summary>
 /// Creates a <code>ComponentInputMap</code> associated with the
 /// specified component.
 /// </summary>
 public ComponentInputMap(JComponent @component)
 {
 }