本文整理匯總了Java中com.intellij.util.ui.TimedDeadzone.Length方法的典型用法代碼示例。如果您正苦於以下問題:Java TimedDeadzone.Length方法的具體用法?Java TimedDeadzone.Length怎麽用?Java TimedDeadzone.Length使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類com.intellij.util.ui.TimedDeadzone
的用法示例。
在下文中一共展示了TimedDeadzone.Length方法的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: setTabLabelActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
@Override
@NotNull
public JBTabsPresentation setTabLabelActionsMouseDeadzone(final TimedDeadzone.Length length) {
myTabActionsMouseDeadzone = length;
final List<TabInfo> all = getTabs();
for (TabInfo each : all) {
final TabLabel eachLabel = myInfo2Label.get(each);
eachLabel.updateTabActions();
}
return this;
}
示例2: ActionButton
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
public ActionButton(JBTabsImpl tabs, TabInfo tabInfo, AnAction action, String place, Pass<MouseEvent> pass, TimedDeadzone.Length deadzone) {
super(null, action.getTemplatePresentation().getIcon());
myTabs = tabs;
myTabInfo = tabInfo;
myAction = action;
myPlace = place;
myButton = new InplaceButton(this, this, pass, deadzone) {
@Override
protected void doRepaintComponent(Component c) {
repaintComponent(c);
}
};
myButton.setVisible(false);
}
示例3: setTabLabelActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
@Override
@Nonnull
public JBTabsPresentation setTabLabelActionsMouseDeadzone(final TimedDeadzone.Length length) {
myTabActionsMouseDeadzone = length;
final List<TabInfo> all = getTabs();
for (TabInfo each : all) {
final TabLabel eachLabel = myInfo2Label.get(each);
eachLabel.updateTabActions();
}
return this;
}
示例4: setMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
public void setMouseDeadzone(final TimedDeadzone.Length deadZone) {
myBehavior.setMouseDeadzone(deadZone);
}
示例5: setTabLabelActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
@NotNull
JBTabsPresentation setTabLabelActionsMouseDeadzone(TimedDeadzone.Length length);
示例6: getTabActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
public TimedDeadzone.Length getTabActionsMouseDeadzone() {
return myTabActionsMouseDeadzone;
}
示例7: setMouseDeadZone
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
public void setMouseDeadZone(TimedDeadzone.Length deadZone) {
myButton.setMouseDeadzone(deadZone);
}
示例8: setMouseDeadZone
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
public void setMouseDeadZone(TimedDeadzone.Length deadZone) {
myButton.setMouseDeadzone(deadZone);
}
示例9: setTabLabelActionsMouseDeadzone
import com.intellij.util.ui.TimedDeadzone; //導入方法依賴的package包/類
@Nonnull
JBTabsPresentation setTabLabelActionsMouseDeadzone(TimedDeadzone.Length length);