コード例 #1
0
 public override void focusGained(FocusEvent focusevent)
 {
 }
コード例 #2
0
 public virtual void focusLost(FocusEvent e)
 {
   if (!(((EventObject) e).getSource() is JTextComponent))
     return;
   ((JTextComponent) ((EventObject) e).getSource()).select(0, 0);
 }
コード例 #3
0
		/// <summary>
		/// Processes focus events occurring on this component by
		/// dispatching them to any registered
		/// <code>FocusListener</code> objects.
		/// </summary>
		protected void processFocusEvent(FocusEvent @evt)
		{
		}
コード例 #4
0
 public virtual void focusGained(FocusEvent e)
 {
   if (!(((EventObject) e).getSource() is JTextComponent))
     return;
   ((JTextComponent) ((EventObject) e).getSource()).selectAll();
 }